Re: bash handles terminate signals incorrectly, when it is run as the init process in a pid namespace

2018-03-26 Thread Andrei Vagin
On Sun, Mar 25, 2018 at 11:40 AM, Chet Ramey wrote: > On 3/23/18 4:34 AM, Andrei Vagin wrote: >> On Thu, Mar 22, 2018 at 6:25 PM, Chet Ramey wrote: >>> On 3/22/18 3:38 PM, Andrei Vagin wrote: >>> I am thinking how to fix this issue properly. Here are a few points: * bash should know tha

bash shows an error message about unpaired quotes, but they are paired

2018-03-26 Thread f . de . kruijf
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-suse-linux-gnu' -DCONF_VENDOR='suse' -DLOCALEDIR='/usr/share/locale' -DP

Re: bash shows an error message about unpaired quotes, but they are paired

2018-03-26 Thread Eduardo Bustamante
On Mon, Mar 26, 2018 at 1:54 PM, wrote: [...] > run 'sed -i "6a\find /srv/cowrie/log/ -mtime +7 -name \'cowrie.*\' -delete" > cowrietest' That's not how you escape single quotes within single quotes. Read: https://mywiki.wooledge.org/Quotes#Types_of_quoting The proper way would be: run 'sed -i