Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 13720] New: variable leakage from /etc/profile

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 13720] New: variable leakage from /etc/profile
  • Date: 18 Apr 2007 22:01:06 -0000

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.



  • [SM-Grimoire-Bugs] [Bug 13720] New: variable leakage from /etc/profile, bugzilla-daemon, 04/18/2007

Archive powered by MHonArc 2.6.24.

Top of Page