On Wed, Jul 10, 2013 at 8:35 PM, Geir Hauge wrote:
> 2013/7/10 Bruce Korb
>
>> This seems like a lot of obtuse bother:
>>
>> xtrace_setting=$(
>>re=$'\nxtrace[ \t]+on'
>>[[ $(set -o) =~ $re ]] && echo ' -x' || echo ' +x')
>>
>> if there were only some magic like ${BASH_SETTING_XTRACE} or
On 3/5/13 7:52 AM, Martin Jackson wrote:
> Bash Version: 4.2
> Patch Level: 0
> Release Status: release
>
> Description:
> When executing a here document in bash, with the here document piped to
> another instance of bash, where the here document contains "echo <&- &;
> wait", the here document g
ge...@cs.hmc.edu wrote:
Locking should be used when truncating and writing the history
file. (Yes, I know it's a pain in a portable program like
bash.)
Strictly speaking, locking is only half a solution, because
the net result will be that the saved his
On Wed, 10 Jul 2013, ge...@cs.hmc.edu wrote:
...
What might be cooler would be to merge all the history lines
from all shells, in timestamp order. But given the current
history file format, that seems...hard.
PROMPT_COMMAND='history -a "$HISTFILE"'
--
Chris F.A. Joh
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -
On 2 July 2013 22:44, Eric Blake wrote:
> On 07/02/2013 12:20 PM, Chris Irvine wrote:
>> I tried to download the BASH for my Windows 7 computer with SUA (services
>> for Unix installed). The latest download script, config.guess, was used and
>> the configure command failed with an error. I have
On Wed, Jul 10, 2013 at 02:54:17PM -0700, Jason Sipula wrote:
> ~]# mysqldump -u someuser -p somedb | mysql -u someuser -p -D someotherdb
This isn't a bash issue. Mysql is prompting for a password, either
on standard input or by directly opening /dev/tty. In either case,
the issue is with mysql.
This isn't a but in bash.
firstly once a program is started it takes over the input so the fact
that your password is echoed to the terminal is because myspl allows it
not bash, and in mysql defense this is the normal behaviour for command
line tools.
Secondly both mysqldump an
I probably should have filed two different reports for this. Sorry for any
confusion guys.
The password makes sense to me why it allows clear text...
The second issue is once the command terminates, bash session does not
behave normally at all. Nothing typed into the terminal over SSH or
directly
On Thu, Jul 11, 2013 at 10:47:12AM -0700, Jason Sipula wrote:
> I still think this is a bash issue. After the command terminates, you must
> restart your bash session to return to normal functionality. Nothing typed
> into the terminal displays but it does receive it.
If the terminal has been mess
Sorry made a typo in the last email I meant try
stty echo
sounds like echo is turned off
try typing
stty echo
when you you say you don't see any output.
And if echoing is turned off it was probably turned off my mysql.
Gesendet: Donnerstag, 11. Juli 2013 um 19:53 Uhr
Bingo.
~]# stty echo
This fixed bash. So it does appear MySQL is disabling echo.Strange that it
does not re-enable it after it's finished running. I'll take this up with
the mysql folks.
Thank you to everyone!
On Thu, Jul 11, 2013 at 11:00 AM, John Kearney wrote:
> sounds like echo is turne
On Thu, Jul 11, 2013 at 10:53:11AM -0700, Jason Sipula wrote:
> The second issue is once the command terminates, bash session does not
> behave normally at all. Nothing typed into the terminal over SSH or
> directly on the console displays, however it does receive the keys. Also,
> if you repeatedl
You learn something new every day!
After your explanations, this situation makes perfect sense to me now. I
was attempting to quickly clone a database to basically rename it since
mysql removed the rename command a while ago (it was dangerous apparently).
It's pretty awesome that you guys took th
Typically when a program has this sort of a problem I just save and
restore the context myself.
SavedContext="$(stty -g )"
read -sp "Password:" Password
mysqldump -u someuser --password=${Password} somedb | mysql -u someuser
--password=${Password} -D someotherdb
# Restore Te
Hmm... on my system. doing a
~]# mysql -u username -p
Makes mysql prompt for password. I usually do this when I'm logging into
mysql directly instead of programmically so that i don't have to type the
clear text password into the terminal. Maybe a mysql version thing? I'm on
5.1.x under centos 6.
On 12 Jul 2013 01:29, "Chris Down" wrote:
> What does this have to do with bash? This is almost certainly an issue
with your terminal it MySQL client. What about this would constitute a bash
bug?
s/\bit\b/or/
On 12 Jul 2013 01:25, "Jason Sipula" wrote:
>
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gn
Revisiting this...
Chet Ramey wrote:
On 4/25/13 8:45 AM, Greg Wooledge wrote:
If you think Bash is misbehaving, submit a patch, or wait for Chet to
comment on one of these threads.
I don't plan to comment or make any changes. The demand for this
feature seems vanishingly small.
And
On 07/11/2013 04:06 PM, Linda Walsh wrote:
> Revisiting this...
>
> Chet Ramey wrote:
>> On 4/25/13 8:45 AM, Greg Wooledge wrote:
>>
>>> If you think Bash is misbehaving, submit a patch, or wait for Chet to
>>> comment on one of these threads.
>>
>> I don't plan to comment or make any changes. Th
Eric Blake wrote:
On 07/11/2013 04:06 PM, Linda Walsh wrote:
Revisiting this...
Chet Ramey wrote:
On 4/25/13 8:45 AM, Greg Wooledge wrote:
If you think Bash is misbehaving, submit a patch, or wait for Chet to
comment on one of these threads.
I don't plan to comment or make any changes. T
Eric Blake wrote:
On 07/11/2013 04:06 PM, Linda Walsh wrote:
Revisiting this...
Chet Ramey wrote:
On 4/25/13 8:45 AM, Greg Wooledge wrote:
If you think Bash is misbehaving, submit a patch, or wait for Chet to
comment on one of these threads.
I don't plan to comment or make any changes. T
22 matches
Mail list logo