| Subject: | Re: Functions with heredoc in command list misformatted by set |
|---|---|
| From: | Chet Ramey <chet.ramey@xxxxxxxx> |
| Date: | Sun, 13 Jul 2008 16:08:10 -0400 |
| Newsgroups: | gnu.bash.bug |
buport@xxxxxxxxxxx wrote: Bash Version: 3.2 Patch Level: 33 Release Status: release Description: The 'set' command is supposed to print function definitions "in a format that may be reused as input for setting or resetting the currently-set variables." However, it misformats command lists that use heredocs. The 'type' command has the same problem. (I noticed this problem because Gentoo's build system tries to save and restore the environment this way, and it was producing syntax errors.) Thanks for the report. This is fixed in bash-4.0 (it took a while for the right solution to bubble up). Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU chet@xxxxxxxx http://cnswww.cns.cwru.edu/~chet/ |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied, Chet Ramey |
|---|---|
| Next by Date: | $HOSTTYPE, Peter Lowe |
| Previous by Thread: | Prompt Corruption (Long Dir Names + Long Commands), timerlenmeyer |
| Next by Thread: | $HOSTTYPE, Peter Lowe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |