[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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: