From owner-freebsd-bugs Tue Jul 17 23:28:22 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from kesuki.dyndns.org (kesuki.farcpe.cableone.net [24.116.40.25]) by hub.freebsd.org (Postfix) with ESMTP id 35EE837B405 for ; Tue, 17 Jul 2001 23:28:20 -0700 (PDT) (envelope-from kesu@kesuki.dyndns.org) Received: from localhost (kesu@localhost) by kesuki.dyndns.org (8.11.3/8.9.3) with ESMTP id f6I6f4X49081 for ; Wed, 18 Jul 2001 01:41:04 -0500 (CDT) (envelope-from kesu@kesuki.dyndns.org) Date: Wed, 18 Jul 2001 01:41:04 -0500 (CDT) From: kesu To: Subject: Shell variables don't expand always... Message-ID: <20010718012832.P48799-100000@kesuki.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This bug seems to be a feature of someone who's never used a sh script to write html. Apparently "" allows variables to expand while '' does not. since `` is used to execute there are no other 'allowed' quote character that I can see (not for a shell anyways) The problem, html uses ""'s so unless I individually escape them i can't get variables to expand wfor auto generated html. I hate escapes... I always mess up my scripts when I use escapes and it takes me hours to figure out why, which is why I avoid them at all costs. These are simply 5 minute scripts designed to just automate a mundane and repetitive html writing task and I need the variable to expand and I need ""'s inside the html, and escapes drive me crazy. so when I upgraded last feb, and unknowningly broke a script I never thought to check on, and just today discovered why and how it broke I really have to nosider it a bug, enen though it was probably a feature for someone to write a script to auto generate some java/javascript (which might need the variables intact and probably hate escapes) --- 12:00PM up 10 days, 11:49, 8 users, load averages: 0.00, 0.02, 0.00 Fortune of the day: Nasrudin walked into a teahouse and declaimed, "The moon is more useful than the sun." "Why?", he was asked. "Because at night we need the light more." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message