Mercurial > hg > toybox
diff .hgtags @ 1658:e5e3cd5f8779 draft
Switch netcat to stop parsing command line at first nonoption argument instead of stopping after -l or -L.
Hyejin Kim tried "toyboxd nc nc -p 1234 -l rm mv ps" (which attempted to run
"nc rm mv ps") and "toybox nc -l -p 1234" (which attempted to run "-p 1234")
and found the behavior confusing. So make it work like xargs, where all
netcat options have to come before the start of any child command.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 14 Jan 2015 13:59:10 -0600 |
parents | 7a0ea74c2e0c |
children | 4a68c2b7787c |