Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16496
| Path | csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: bash 5.0 on AIX 7.2 server -- Division by 0 when using bash from shell window |
| Date | Mon, 29 Jun 2020 17:32:25 -0400 |
| Lines | 18 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.680.1593466351.2574.bug-bash@gnu.org> (permalink) |
| References | <576596d2aa2b49e69afbb0577a140a40@express-scripts.com> <20200629213225.GZ22833@eeg.ccf.org> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | usenet.stanford.edu 1593466351 30058 209.51.188.17 (29 Jun 2020 21:32:31 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | "bug-bash@gnu.org" <bug-bash@gnu.org> |
| To | "Krongard, William T. \(BLM\)" <WTKrongard@express-scripts.com> |
| Envelope-to | bug-bash@gnu.org |
| Mail-Followup-To | "Krongard, William T. (BLM)" <WTKrongard@express-scripts.com>, "bug-bash@gnu.org" <bug-bash@gnu.org> |
| Content-Disposition | inline |
| In-Reply-To | <576596d2aa2b49e69afbb0577a140a40@express-scripts.com> |
| User-Agent | Mutt/1.10.1 (2018-07-13) |
| Received-SPF | none client-ip=139.137.100.1; envelope-from=wooledg@eeg.ccf.org; helo=mail.eeg.ccf.org |
| X-detected-operating-system | by eggs.gnu.org: First seen = 2020/06/29 17:32:26 |
| X-ACL-Warn | Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] |
| X-Spam_score_int | -8 |
| X-Spam_score | -0.9 |
| X-Spam_bar | / |
| X-Spam_report | (-0.9 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=1, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=_AUTOLEARN |
| X-Spam_action | no action |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <20200629213225.GZ22833@eeg.ccf.org> |
| X-Mailman-Original-References | <576596d2aa2b49e69afbb0577a140a40@express-scripts.com> |
| Xref | csiph.com gnu.bash.bug:16496 |
Show key headers only | View raw
On Mon, Jun 29, 2020 at 08:24:01PM +0000, Krongard, William T. (BLM) wrote: > Description: > execution of "bash" from shell window gets a division by zero message > # bash > bash: (1-0/roothome1): division by 0 (error token is "roothome1)") > bash: (1-0/roothome1): division by 0 (error token is "roothome1)") > > every command executed is followed by the division by 0 message This will be caused by something in your environment -- either the PS1 variable, or the PROMPT_COMMAND variable, or a DEBUG trap, which is being set in one of root's dot files on your system. Most probably, you've got $(( )) where you meant to have $( ), or something along those lines. It'll probably be obvious once you print out the contents of the PS1 and PROMPT_COMMAND variables, and the output of "trap" with no arguments.
Back to gnu.bash.bug | Previous | Next | Find similar
Re: bash 5.0 on AIX 7.2 server -- Division by 0 when using bash from shell window Greg Wooledge <wooledg@eeg.ccf.org> - 2020-06-29 17:32 -0400
csiph-web