[Home]History of ZshTricks

HomePage | RecentChanges | Preferences

Revision 22 . . June 27, 2006 15:59 by 65.57.245.11 [Sticking in the jtr opinion on while loops.]
Revision 21 . . November 30, 2004 14:15 by Frederik
  

Difference (from prior major revision) (no other diffs)

Added: 84a85,88

If you're not set on using find, you can use zsh's recursive globbing in many of the situations where this tip applies. Globbing doesn't suffer from word-split problems unless you use crazy flags that you would never figure out and won't type by accident. The equivalent of the above find-pipe-while is:
for wav in **/*.wav(.); lame -h $wav $wav:r.mp3


HomePage | RecentChanges | Preferences
Search: