Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16498
| From | "Krongard, William T. (BLM)" <WTKrongard@express-scripts.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | bash 5.0 on AIX 7.2 server -- Division by 0 when using bash from shell window |
| Date | 2020-06-30 13:19 +0000 |
| Message-ID | <mailman.701.1593523190.2574.bug-bash@gnu.org> (permalink) |
| References | <576596d2aa2b49e69afbb0577a140a40@express-scripts.com> <20200629213225.GZ22833@eeg.ccf.org> <64782babf9aa4b6c99b3a8e77d1e70f3@express-scripts.com> |
Greg, Thank you, found the issue in "root" .profile, you were correct a '1' had been added to Prompt Command variable. Respectfully, William Krongard Express Scripts Services, Server Support Work: (952)-837-7537 Cell: (763) 442-0640 Server Support Confluence page: Server Support landing page To reach out to the Server Support Team through Mattermost: https://mattermost.express-scripts.com/express-scripts/channels/server-support -----Original Message----- From: Greg Wooledge <wooledg@eeg.ccf.org> Sent: Monday, June 29, 2020 4:32 PM To: Krongard, William T. (BLM) <WTKrongard@express-scripts.com> Cc: bug-bash@gnu.org Subject: [EXTERNAL] Re: bash 5.0 on AIX 7.2 server -- Division by 0 when using bash from shell window 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
bash 5.0 on AIX 7.2 server -- Division by 0 when using bash from shell window "Krongard, William T. (BLM)" <WTKrongard@express-scripts.com> - 2020-06-30 13:19 +0000
csiph-web