NetBSD-Bugs archive

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

Re: bin/44246: mv needs dir first option for xargs use



The following reply was made to PR bin/44246; it has been noted by GNATS.

From: "Jeremy C. Reed" <reed%reedmedia.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/44246: mv needs dir first option for xargs use
Date: Fri, 17 Dec 2010 07:58:38 -0600 (CST)

 On Fri, 17 Dec 2010, darrenr%netbsd.org@localhost wrote:
 
 > >Synopsis:       mv needs dir first option for xargs use
 
 > But that doesn't work. So my proposal is for something like this:
 > 
 > echo * | xargs -x newdir
 
 Synopsis doesn't match up with example (missing "mv"). Do you want
 
 1) xargs -x to have xargs put the xarg argument(s) at the end of its 
 generated command line arguments?
 
 2) mv -x to mean the first argument is the mv target? Example:
 
  echo * | xargs mv -x newdir
 


Home | Main Index | Thread Index | Old Index