Matthew Burgess wrote:
> Some time ago, BLFS added the '-v' (verbose) flag to common Unix
> commands ('mv', 'ln', etc.) so that it was clearer to readers
Don't take this the wrong way, but I've been doing exactly that for quite
a while so I fully support LFS adopting it.
> a) what
> the result of running the command was (especially in the case of 'ln')
> and b) if they'd made an error. It also, of course, helps greatly when
> perusing log files. I'm therefore proposing that LFS adopts the same
> policy. Does anyone have any strong opinions either way?
It's a win win. The crowd who "type commands into interactive shell"
benefit and so do the scripters/loggers.
Applies mainly to the core file utilities:
ln
cp
mv
rm
mkdir
install
I wish sed had a similar option :-/
Just be careful when using them early in the build before you've installed
coreutils. You need to be wary of host issues. For example, `mkdir' on
RH62 doesn't support -v (but `install -d' does :-)
Regards
Greg
--
http://www.diy-linux.org/
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page