Re: printf '%q ' "$_at_" alternative?

From: Max Ivanov <ivanov.maxim_at_gmail.com>
Date: Fri, 20 May 2016 17:06:20 +0100

Can't see how it can help, am I missing something?

Expected result is 2 arguments passed:
```
./execlineb -c 'strace -etrace=execve ./s6-echo 1 "A B"'
execve("./s6-echo", ["./s6-echo", "1", "A B"], [/* 102 vars */]) = 0
```

What I actually get with dollarat:
```
echo "strace -etrace=execve ./s6-echo" >/tmp/script
./execlineb -c './dollarat' 1 'A B' >>/tmp/script

./execlineb /tmp/script
execve("./s6-echo", ["./s6-echo", "1", "A", "B"], [/* 104 vars */]) = 0
```


On 20 May 2016 at 16:30, Laurent Bercot <ska-skaware_at_skarnet.org> wrote:
>> How could I correctly save $_at_ in a file for a future execution?
>
>
> http://skarnet.org/software/execline/dollarat.html ?
>
> It won't work with the -S switch to execlineb though.
>
> --
> Laurent
Received on Fri May 20 2016 - 16:06:20 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC