Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Zsh noob: word-splitting headache




   Date: Tue, 4 Jan 2005 16:10:25 -0500
   From: Clint Adams <clint@xxxxxxx>

   >   for i in `foo`
   >     do something with $i
   >   done

     for i in ${(f)"$(foo)"}
       do something with $i
     done

What a godsend!  Thanks!

kj



Messages sorted by: Reverse Date, Date, Thread, Author