Advertisement
proper

variables2

Dec 23rd, 2011
163
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.11 KB | None
  1. #!/bin/bash
  2. echo "ingrese una variable:"
  3. read VAR
  4. VAR=${VAR:-valor_por_defecto}
  5. echo "la variable es: $VAR"
Advertisement
RAW Paste Data Copied
Advertisement