bug-coreutils
[Top][All Lists]
Advanced

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

Re: env (GNU coreutils) 5.93 patch


From: Shigeru Makino
Subject: Re: env (GNU coreutils) 5.93 patch
Date: Mon, 02 Jan 2006 15:15:24 +0900
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

A happy new year!
I have understood traditional systems that parse #! Lines can only give
a single
argument to the interpreter being invoked by POSIX requirements.
But I feel the charm to write follows;

#! /usr/bin/env awk -f

rather then

#! /usr/local/bin/awk -f or #! /usr/bin/awk -f

The specification against POSIX requirements.
If I crick doing "env" hacking, are you able to create a new command?
For instance, the command named "exe" separates the argument of each
space interpreting #! line.
It is possible to write as follows:
#! /bin/exe awk -f

-- mac






reply via email to

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