From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 26 May 2007 22:23:58 -0400 From: Kris Maglione To: 9fans@cse.psu.edu Subject: Re: [9fans] name=`{cat foo} Message-ID: <20070527022358.GA48294@kris.home> References: <41026BEC-865B-4D05-8144-15F2ED75F01D@ar.aichi-u.ac.jp> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: <41026BEC-865B-4D05-8144-15F2ED75F01D@ar.aichi-u.ac.jp> User-Agent: Mutt/1.5.15 (2007-04-06) Topicbox-Message-UUID: 73a6fc22-ead2-11e9-9d60-3106f5b1d025 --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 27, 2007 at 10:49:52AM +0900, arisawa@ar.aichi-u.ac.jp wrote: > I want to have a shell variable such as: > name=3D'abc def' > > How to do? You could start by reading the paper or the man page. for 'abc def': ifs=3D' ' { name =3D `{cat foo} } for 'abc def ', or 'abc def' if you'd used 'echo -n': ifs=3D() { name =3D `{cat foo} } --=20 Kris Maglione Bad law is more likely to be supplemented than repealed. --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGWOu+seQZD8Aui4wRApIuAJ4wk7s/jG9Y5SNT6/PwNJqXyZsP6ACgkNPi hrY3KvRs2TlLB48nfvSpmUI= =5hHd -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--