Chet Ramey writes:
> Dolphin06 wrote:
>> I dont get it right, i always display only the first one, and i dont know how
>> to write a scalar variable.
>> I tried like this :
>> ssh $u...@$server script2 -f "${my_arr...@]}"
>
> Stick an `echo' in front of this command and see what you're executing.
Hello all,
I would like to give a variable a value which have a format like this one:
<3 letters>--
should be yymmdd. Date of the day by default.
How would i do this, i know the date command is date +"%y-%m-%d", but i dont
know the syntax for mixing letters date and digit into one variable.
Als
Dolphin06 wrote:
> Hello all,
>
> I would like to give a variable a value which have a format like this one:
> <3 letters>--
> should be yymmdd. Date of the day by default.
> How would i do this, i know the date command is date +"%y-%m-%d", but i dont
> know the syntax for mixing letters date a
Ralf Wildenhues wrote:
> Hello bug-bash readers,
>
> I noticed the following bash bug when using gnulib-tool. The script
> below outputs
>
> foo: line 20: echo: write error: Broken pipe
> foo: line 21: echo: write error: Broken pipe
>
> with bash 3.2.48(5)-release on GNU/Linux, whereas I think
Britton Kerin wrote:
> I'm wondering if its possible to emulate this behavior in bash. I
> tried:
>
> bind -m vi-insert "js": vi-command-mode
>
> but it doesn't seem to work: typing the sequence from insert mode
> just beeps when j is typed and then the s gets inserted.
It doesn't work bec
Halim Issa wrote:
> On bash 3.2 patchlevel 048 (and earlier) there appears to be problems in vi
> mode and prompts containing escape characters (such as to get bold text).
>
> To reproduce:
> Enter vi editing mode set -o vi
>
> Set the following prompt:
> export PS1="[\!] \[\e[1m\]\u\[\e[...@\h:
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-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE