Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 1999 10:35:24 +0200
From:      Martin Cracauer <cracauer@cons.org>
To:        Mike Smith <mike@smith.net.au>
Cc:        Martin Cracauer <cracauer@cons.org>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/bin/mkdir mkdir.1 mkdir.c
Message-ID:  <19990830103523.A6689@cons.org>
In-Reply-To: <199908300825.BAA18449@dingo.cdrom.com>; from Mike Smith on Mon, Aug 30, 1999 at 01:25:08AM -0700
References:  <19990830093613.A6276@cons.org> <199908300825.BAA18449@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In <199908300825.BAA18449@dingo.cdrom.com>, Mike Smith wrote: 
> > In <199908300715.AAA18053@dingo.cdrom.com>, Mike Smith wrote: 
> > > > > Though traditionalists and anti-bloat people will have difficulty
> > > > > swallowing these commits, it does help debugging and it does help in
> > > > > scripting. There have been a number of PRs requesting this functionality. 
> > > > 
> > > > It doesn't. `sh -x` is a far better way to do what people are trying
> > > > to do here. How will a portable script using the -v flag look like?
> > > > `sh -x` is just what you need here.
> > > 
> > > It's not.  Or at least, you're welcome to tell me how 'sh -x' works 
> > > when the user is a) using csh, b) types the command manually, and c) 
> > > uses the -R argument to cp(1).
> > 
> > You mean these options are useful for new users to `alias` them in
> > their dotfiles for interactive use? Sorry, I don't agree for commands
> > that would just echo an argument the user just just typed in. 
> 
> I don't see anything like that being done here.

Isn't it the case for mkdir(1)?
 
> > If anything, it might be useful for commands that typically take
> > several arguments and those arguments are often a result from shell
> > globbing.
> 
> Like, let's see, cp, mv, rm, etc.?  It's even more relevant for 
> commands which generate their own datasets through internal processes 
> (eg. mv, cp -R, rm -r...)

I said it makes a little more sense than for mkdir, not that I support
it. Except in combination with -R as I said.

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/
  Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990830103523.A6689>