coreutils
[Top][All Lists]
Advanced

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

Re: Using posix_spawn in coreutils?


From: Bernhard Voelker
Subject: Re: Using posix_spawn in coreutils?
Date: Mon, 27 Oct 2025 21:18:40 +0100
User-agent: Mozilla Thunderbird

On 10/27/25 14:32, William Bader wrote:
> Could the strip program be "echo" or ":" or "true"?

yes for echo and true which can be found via PATH,
but not ':' which is a shell builtin.
And obviously not 'false' ... because it exits non-Zero:

  $ berny@blackice:~/coreutils> src/ginstall src/install.c foo -sv 
--strip-program=true
  'src/install.c' -> 'foo'

  $ src/ginstall src/install.c foo -sv --strip-program=false
  'src/install.c' -> 'foo'
  ginstall: strip process terminated abnormally

Have a nice day,
Berny



reply via email to

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