| Subject: | Re: inconsistent treatment of backslash-bang |
|---|---|
| From: | prj@xxxxxxxxxxx (Paul Jarc) |
| Date: | Fri, 18 Jul 2008 10:13:08 -0400 |
| Newsgroups: | gnu.bash.bug |
Lawrence D'Oliveiro <ldo@xxxxxxxxxxxxxxxxxxx> wrote: > pk wrote: >> This is documented in man bash, and only happens in interactive shells (not >> scripts). > > I just tried putting my six cases into a script, and I get exactly the same > sort of output as interactively. How did you invoke the script? If you do ". ./script", then the script commands are being run in the interactive shell, so you'll get the same behavior as if you typed them directly. "./script" will run those commands in a new, non-interactive shell. paul |
| Previous by Date: | Re: removing null elements from an array, Stephane Chazelas |
|---|---|
| Next by Date: | Re: "address@hidden" strings in the web archive, Bob Proulx |
| Previous by Thread: | Re: inconsistent treatment of backslash-bang, pk |
| Next by Thread: | Re: inconsistent treatment of backslash-bang, Chet Ramey |
| Indexes: | [Date] [Thread] [Top] [All Lists] |