From: Oliver Schad Date: 2010-11-29T20:45:17+09:00 Subject: Re: How to use Ruby like shell script? Stu wrote: > using tr (both in ruby and your shell) should help dealing with such > silliness both going in and also going out if such an extreme case > exists. > > Oli what's your shell scripting example? None, you should use the system API to deal with directory and file names. Shell is crap for many things but good enough in many environments. But if we talk about working solutions in general you should avoid the shell. The idiom "find -print0 | xargs -0" is a good example for the problems with the shell. Shell hacker use it to circumvent the handling of file names by the shell. Regards Oli -- Man darf ruhig intelligent sein, man muss sich nur zu helfen wissen