Timeline for How to remove $VAR2 values from $VAR1 and output the remaining values to $VAR3?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 26, 2017 at 11:54 | comment | added | uihdff | Thank you. Your answer accounts for the newline delimiter in MiniMax's answer. However, when executed at the command line, it needs an extra trailing newline to separate from the prompt. In the script, it wouldn't be noticed. | |
| Sep 24, 2017 at 23:16 | comment | added | user232326 | Unquoted echo is a sure source of (future) problems. Try with VAR1="1 * 3". | |
| Sep 24, 2017 at 22:04 | history | answered | Hauke Laging | CC BY-SA 3.0 |