[Toybox] [PATCH]cp: treat a directory name with a slash at the end the same as one without a slash

William Haddon william at haddonthethird.net
Sun Oct 27 18:01:43 PDT 2019


When a directory is specified a source to the cp command with a slash 
at the end of the name, it has been treated as the list of files in the 
directory. This is very annoying when using command completion in bash. 
This causes such a directory name to be treated the same as one without 
the slash.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: toybox-cp.patch
Type: text/x-patch
Size: 661 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20191027/f5a41aa4/attachment-0002.bin>


More information about the Toybox mailing list