Timeline for Mixing function parameters, commands and command arguments in Bash functions
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 10, 2020 at 13:24 | history | edited | CommunityBot |
Commonmark migration
|
|
Jan 31, 2014 at 18:50 | comment | added | iamnewton | This is even better than my dreamed up solution, so marking this one as the answer. Thanks @rolfl | |
Jan 31, 2014 at 16:02 | vote | accept | iamnewton | ||
Jan 31, 2014 at 5:12 | history | edited | rolfl | CC BY-SA 3.0 |
Include additional option
|
Jan 31, 2014 at 5:07 | comment | added | rolfl | Updated answer with some more detail.... zzzzzz time. | |
Jan 31, 2014 at 5:02 | history | edited | rolfl | CC BY-SA 3.0 |
restructure slightly add notes.
|
Jan 31, 2014 at 4:46 | history | edited | rolfl | CC BY-SA 3.0 |
restructure slightly
|
Jan 31, 2014 at 4:46 | comment | added | iamnewton |
I'm a bit of a Bash noob, so would you mind breaking down the solution so I can understand it and/or can you point to some online resources. Particularly the 4 sub-processes part, the tight loop part, $(...) operator in my understand is only to call a function so it can be return/assigned to a value. The Perl part returns 5, on Mac so I'm curious as to if this isn't as full proof as I'd like.
|
|
Jan 31, 2014 at 4:31 | history | answered | rolfl | CC BY-SA 3.0 |