Timeline for Why would this script work with bash on Kali, but not with bash on Xubuntu?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 19, 2016 at 21:40 | comment | added | Gilles 'SO- stop being evil' |
Actually you can put comments at the end of the line, provided that you terminate the line with |, not with ``. A backslash only means “the command continues on the next line” if it's immediately before the newline character, which leaves no room for a command. A pipe as the last token of the line indicates that the command continues on the next line, it can be followed by whitespace and a comment.
|
|
| May 19, 2016 at 21:38 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |
edited body
|
| May 19, 2016 at 14:11 | vote | accept | Egrodo | ||
| May 19, 2016 at 14:01 | history | answered | glenn jackman | CC BY-SA 3.0 |