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