Steps to reproduce: (using UTF-8 locales)
$ export PS1="\[\e]2;test Ä and Ö here\a\]prompt>"
prompt>abcdefgh# Enter some alphabets and press Home
^ Cursor goes here, instead of
^ here where it should go.
Add more UTF-8 letters as non-printable characters in PS1 and the offset
fr
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='li
nux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DLOCA
LEDIR='/usr/share/locale'
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[please consider making your mailer wrap long lines]
According to Tim on 7/14/2009 12:02 PM:
> Hi,
>
> I wonder how to in a bash script(or other languages if more convenient
and/or fast) manage independent jobs(executables with command line
arguments)
Hi,
I wonder how to in a bash script(or other languages if more convenient and/or
fast) manage independent jobs(executables with command line arguments) and make
them run in parallel? Is there a way to create several sub-process without
waiting them to finish?
Which one is faster: multi-threa
Configuration Information [Automatically generated, do not change]:
Machine: powerpc
OS: darwin8.11.0
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='powerpc' -
DCONF_OSTYPE='darwin8.11.0' -DCONF_MACHTYPE='powerpc-apple-
darwin8.11.0' -DCONF_VENDOR='apple' -DLOCALEDIR='/usr/