bash script, empty (enter button pushing only) value catching
Hi All
Have to catch "enter button pushing only" value
i.e
#!/bin/bash
read something
So if to push enter button whithout any parrameter on this script, what is retun value of "$something" is?
seems to be not the same empty value like " " parameter i.e
$something == " " dos't work
I have to chech in this script, when user just push "enter button" whiout any parameter in READ command execution
Thx
Last edited by junust; 12-25-2008 at 03:49 AM.
|