Timeline for bash + compare variable with spaces
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 2, 2017 at 19:21 | vote | accept | yael | ||
| Nov 2, 2017 at 18:37 | comment | added | ilkkachu | @glennjackman, yeah, if there's a chance of tabs or such. Trailing newlines shouldn't be a problem since the command substitution will eat them. | |
| Nov 2, 2017 at 18:35 | history | edited | ilkkachu | CC BY-SA 3.0 | added 123 characters in body |
| Nov 2, 2017 at 18:32 | comment | added | glenn jackman | For regex, use [[:space:]]* instead. That will match any whitespace, not just spaces. | |
| Nov 2, 2017 at 18:27 | history | edited | ilkkachu | CC BY-SA 3.0 | added 219 characters in body |
| Nov 2, 2017 at 18:22 | history | answered | ilkkachu | CC BY-SA 3.0 |