bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read Built-in Parameter Behavior -- Null Byte Delimiter


From: Reuti
Subject: Re: read Built-in Parameter Behavior -- Null Byte Delimiter
Date: Sat, 30 Jan 2016 23:23:43 +0100

Greg,

Am 25.01.2016 um 19:52 schrieb Greg Wooledge:

> On Mon, Jan 25, 2016 at 07:09:27PM +0100, Reuti wrote:
>> Sometimes I miss a feature in Bash to get access to the plain command line
>> the user typed, including all quotes and other redirections
> 
> There is a way to do this, but it is not a path for the sane.
> 
> http://www.chiark.greenend.org.uk/~sgtatham/aliases.html

Thanks a bunch. This hack was exactly what I was looking for - looks like I'm 
not the first one having a need for it. Inside the function I had to use () to 
get a subshell to avoid that "str" is known after the issued command, but I get 
the exact command line in the job's comment this way now.

-- Reuti


reply via email to

[Prev in Thread] Current Thread [Next in Thread]