Timeline for How many arguments were passed?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 10, 2018 at 17:28 | comment | added | Pavel | @Neil shell scripts act exactly like functions. OP doesn't clear on what a function is, I claim my submission is just a function saved to the disk. | |
| Apr 10, 2018 at 15:50 | comment | added | Neil | Although, I see now that the OP only wants a function... | |
| Apr 10, 2018 at 14:38 | history | edited | Pavel | CC BY-SA 3.0 | deleted 16 characters in body |
| Apr 10, 2018 at 8:14 | comment | added | Neil | @muru That looks fine as a full program to me. | |
| Apr 10, 2018 at 7:39 | comment | added | muru | Though it should probably be wrapped: f(){ echo $#; } | |
| Apr 10, 2018 at 4:45 | history | answered | Pavel | CC BY-SA 3.0 |