[SM-Grimoire-Bugs] [Bug 13720] New: variable leakage from /etc/profile
bugzilla-daemon at bugs.sourcemage.org
bugzilla-daemon at bugs.sourcemage.org
Wed Apr 18 18:01:06 EDT 2007
http://bugs.sourcemage.org/show_bug.cgi?id=13720
Summary: variable leakage from /etc/profile
Product: Codex
Version: stable grimoire
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: shell-term-fm
AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
ReportedBy: jblosser-smgl at firinn.org
in /etc/profile:
#iteration
for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
. $i
fi
done
That "i" gets left in the environment; causes some fun if you try to write a
quick one-liner that also uses "i" for an iterator.
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the SM-Grimoire-Bugs
mailing list