Re: Troubles in a multiple choice
Benjamin Schieder <[email protected]> Tue, 14 Nov 2006 19:16:34 +0100
| Newsgroups | gmane.linux.distributions.rock.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============0151568733== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OwLcNYc0lM97+oe1" Content-Disposition: inline --OwLcNYc0lM97+oe1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 14.11.2006 19:08:56, Luca wrote: > > choice ROCKCFG_PKG_GLIBC_TIMEZONE Europe/Berlin \ > > `grep "$1/" /usr/share/zoneinfo/zone.tab | while read a b timez= one c ; do echo "$b $b" ; done` > Hi Benjmin, >=20 > Thanks a lot it solved my problem, however now I'm trying to manage to > have the list in alphabetical order. Just add | sort -u after the 'done'. Btw, it would really help reading your mails if you cut out stuff that isn't directly related to your problem :) Greetings, Benjamin --=20 #!/bin/sh #!/bin/bash #!/bin/tcsh #!/bin/csh #!/bin/kiss #!/bin/ksh #!/bin/pdksh #!/usr/bin/perl #!/usr/bin/python #!/bin/zsh #!/bin/ash Feel at home? Got some of them? Want to show some magic? http://shellscripts.org --OwLcNYc0lM97+oe1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFFWggBAsME5O4xgqgRApaKAKClrDt1uibHeTQSJsejJ4aRYPla2ACgo9GC qhzNhe6g10+YM3CY08JE1Rs= =i7Tj -----END PGP SIGNATURE----- --OwLcNYc0lM97+oe1-- --===============0151568733== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ rock-devel mailing list [email protected] http://www.rocklinux.net/mailman/listinfo/rock-devel --===============0151568733==--