bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: make and ~ expansion


From: Dan Jacobson
Subject: Re: make and ~ expansion
Date: 20 Oct 2001 07:21:44 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Paul" == Paul D Smith <address@hidden> writes:

Paul> It's trivial to fix; edit job.c on or around line 2482 you'll see this:

Paul>   static char sh_chars[] = "#;\"*?[]&|<>(){}$`^";

Paul> Just add "~" to the string above, such as:

Paul>   static char sh_chars[] = "#;\"*?[]&|<>(){}$`^~";
Paul>                                                ^
Paul>                                                |
Paul> This will ensure that when you invoke a command with a ~ in it, make
Paul> will start a shell to handle it rather than try to fork/exec the command
Paul> directly.

You know, this all seems like a hack to speed things up... wouldn't it
be more elegant to just pass each line to the shell no matter what.
OK, the above is just a scholarly opinion.
-- 
http://www.geocities.com/jidanni/ Tel+886-4-25854780 積丹尼



reply via email to

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