Timeline for In bash script, can we set variable values using command line argument
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 1, 2019 at 17:56 | comment | added | Gordon Davisson |
echo -n isn't portable; some versions of echo will print "-n" as part of their output. (I once had to rewrite a bunch of my scripts after an OS update changed this...) I'd recommend using printf instead (either printf "Enter email: " or printf '%s' "Enter email: ").
|
|
| Jul 1, 2019 at 16:50 | vote | accept | Ankit Goyal | ||
| Jul 1, 2019 at 16:27 | history | answered | rush | CC BY-SA 4.0 |