From: Chad Perrin Date: 2011-07-04T07:37:16+09:00 Subject: Re: downloading all of gem to my hd? --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 04, 2011 at 03:35:02AM +0900, Jan wrote: >=20 > using bash this might look like this: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > $ for GEM in $(gem search -qr | awk 'NR>2 { print $1 }'); do gem fetch > ${GEM}; done; > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This is actually sh syntax. It just *also* happens to work in bash. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk4Q61wACgkQ9mn/Pj01uKVWJACguzj5oqZQhax510VFsjw6aSol ZFcAn2EMCEy+WxOT61AX1hMNbi74h7Bi =QqD7 -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH--