proper

variables2

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