Seems odd that GNU "diff -r" won't recursively diff the dirs (akin to "dircmp") without choking on filenames that have evil characters. The GNU stuff is usually pretty good. Instead of "tr", could you tell GNU find not to do its shell metacharacter autoescaping thing, and pipe find's output through "strings -a" to strip out the evil characters? Admittedly, the perl solutions are MUCH better, but this technique might "get you by." D * On Thu, Aug 24, 2000 at 05:58:08PM -0700, der.hans wrote: > Am 24. Aug, 2000 schwäzte shadoiOsoulmachine.com so: > > > Maybe piping the output from ls -b or find to tr with some options > > would do the trick.. Maybe using grep to pull out only the ones you > > want to fix for speed.. > > With tr I have to take into account all the special chars :(. It won't > change "\ " into " ", since it only works on single chars. Rod's > suggestion of sed looks like it should work, if I can get sed to behave > the way it seems it should or failing that find out how sed actually > behaves :). That would actually fix something else for me as well. > > For now I'm using perl on the file after it was created. Already had to do > that for something else, so it's not a great sin, just something else to > try to move back to shell later on :). > > ciao, > > der.hans > -- > H der.hansOLuftHans.com home.pages.de/~lufthans/ www.Opnix.com > H Help Jerry Lewis stamp out M$...oops that's MDA - der.hans > > > ________________________________________________ > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail. > > Plug-discuss mailing list - Plug-discussOlists.PLUG.phoenix.az.us > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss