From: Phillip Gawlowski Date: 2011-07-04T07:47:14+09:00 Subject: Re: downloading all of gem to my hd? On Mon, Jul 4, 2011 at 12:37 AM, Chad Perrin wrote: > On Mon, Jul 04, 2011 at 03:35:02AM +0900, Jan wrote: >> >> using bash this might look like this: >> >> ========================================================================= >> $ for GEM in $(gem search -qr | awk 'NR>2 { print $1 }'); do gem fetch >> ${GEM}; done; >> ========================================================================= > > This is actually sh syntax.  It just *also* happens to work in bash. Expect the next version of bash to fix this bug. :P -- Phillip Gawlowski twitter.com/phgaw phgaw.posterous.com A method of solution is perfect if we can forsee from the start, and even prove, that following that method we shall attain our aim.                -- Leibniz