Re: OT: Which tool, and how, to get partial string from file?
On Sat, Aug 21, 2004 at 09:41:11PM +0800, John Summerfield wrote:
> but for readability, don't use back-ticks. Instead
> WORD=$(sed -ne 's/^.*\(icewm\).*$/\1/p' < /home.local/snert/.xinitrc)
$(..) is not as portable as ``.
-- Thomas Adam
--
"Frankly, Mr. Shankly, since you ask. You are a flatulent pain in
the arse." -- Morrissey.
Reply to:
- References:
- OT: Which tool, and how, to get partial string from file?
- From: Kent West <westk@acu.edu>
- Re: OT: Which tool, and how, to get partial string from file?
- From: "Miquel van Smoorenburg" <miquels@cistron.nl>
- Re: OT: Which tool, and how, to get partial string from file?
- From: Kent West <westk@acu.edu>
- Re: OT: Which tool, and how, to get partial string from file?
- From: "Miquel van Smoorenburg" <miquels@cistron.nl>
- Re: OT: Which tool, and how, to get partial string from file?
- From: John Summerfield <debian@ComputerDatasafe.com.au>