lkml.org 
[lkml]   [1999]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: GNU/Linux stance by Richard Stallman
Date
From
In message <19990329102549.A7484@pcep-jamie.cern.ch>, Jamie Lokier writes:
+-----
| On all systems I've encountered, `:' is a perfectly good command for not
| doing anything. Is it too new to be portable?
+--->8

"New"? That's how we old-timers used to have to comment shell scripts before
"#" comments were added to /bin/sh.

The reason it's not used as a generic command substituter (usually in
Makefiles) is that it's a shell builtin. make execvp's commands, so : would
fail unless you had in the command some kind of marker that told make to pass
the command to sh instead (in older/non-GNU make, this mostly means
wildcards).

--
brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net
system administrator [WAY too many hats] allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering KF8NH
We are Linux. Resistance is an indication that you missed the point.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.076 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site