Thomas Adam wrote:
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 ``.
On what sh equivalents does it not work? I've just tried dash and sh --posix and those are fine. I've previously used it in busybox.
--
Cheers John
-- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]