At 11:35 PM 7/31/2002 -0700, you wrote:
>--- Sandip Bhattacharya <[EMAIL PROTECTED]> wrote:
> > a) for x in dir/*; do dos2unix $x ; done
> >     (Instead of dos2unix you can use your own
> > commandline as yo had done
> > before)
>
>Cool, but does not recurse through subdirectories !

find dir/ -exec dos2unix {} \;

> >
> > No. This is because the shell creates a different
> > parallel process for
> > every command in the pipes of the command-line.
> > Since they have all been
> > spawned from the shell at the same time, a variable
> > in environment of one
> > of the process is not available in a parallel
> > process.
> >
>
>Do I have four bash programs in memory there ?

Yes. Four spawned(fork+exec) programs in memory.

- Sandip

          ================================================
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject 
header. Check archives at http://www.mail-archive.com/ilugd%40wpaa.org

Reply via email to