Summary: | runscript breaks when changing IFS (Internal Field Seperator) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | omri <omri> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
omri
2005-03-12 05:49:26 UTC
Rather make all variable you change local, which should be the good bash practice: ----- $ (foo(){ local IFS="|"; echo "$*"; }; foo bar boo ban) bar|boo|ban ----- |