3 ms·
> (how would you ever figure out what " $#* " means?) The same way you figured out what "$@" or "$*" mean on unix: Reading the manual. For that matter, the var
by ori_b 7y ago
> (how would you ever figure out what " $#* " means?)
The same way you figured out what "$@" or "$*" mean on unix: Reading the manual. For that matter, the variable's meaning is the same as on Unix, except with a 'count length of list' operator in there.
Because the plan 9 shell has proper lists, integrated in nicely. Which means that the script above will work even if the arguments have spaces in the filenames.
> Now where did that @#!$ sysadmin put it?
Doesn't matter, I bound it in to my /bin. All binaries are in /bin after you're done setting up your namespace.