Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2001 01:41:04 -0500 (CDT)
From:      kesu <kesu@kesuki.dyndns.org>
To:        <bugs@freebsd.org>
Subject:   Shell variables don't expand always...
Message-ID:  <20010718012832.P48799-100000@kesuki.dyndns.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010718012832.P48799-100000>