Subject: Re: rm(1) and cp(1) printable characters diff
To: None <firstname.lastname@example.org>
From: Martin J. Laubach <email@example.com>
Date: 07/19/2003 20:35:42
| Attached is a diff that makes rm(1) and cp(1) behave more like ls(1) wrt
| to nonprintable characters. That is, if a filename in question contains
| a non-printable character, it prints that as '?' if stdout is a tty.
| $ rm -i "foo^Gbar"
| remove 'foo?bar'?
Especially with interactive mode, it would probably make
more sense to use vis(3), so one can see what magic character
is there, and not just fold them all into "?".