aboutsummaryrefslogtreecommitdiff
path: root/coreutils/mv.c
AgeCommit message (Collapse)Author
2006-05-26- add central knob to turn off getopt_long everywhere. EXPERIMENTAL!Bernhard Reutner-Fischer
Adds "Enable getopt long" under "General options", default y. Send patches to fix getopt_ulflags and run_parts.c if you turn this off.. See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2005-09-11Cleanup patch by Bernhard Fischer, removing unnecessary includes ofRob Landley
getopt.h, whitespace changes, typos, etc.
2005-09-051) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"
2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
2005-07-20If /tmp and /home were different partitions, then "mv /tmp/file /home/file"Rob Landley
would delete /home/file even if /tmp/file didn't exist. This fixes that, although the logic of both mv and cp is a bit tangled and should probably be untangled.
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-02-21Use return instead of exit, use == instead of & ==, left justify labels,Glenn L McGrath
adjustment of whitespace.
2003-06-20last_patch89 from vodz:Eric Andersen
Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz
2003-03-19Major coreutils update.Manuel Novoa III
2001-10-05Invert FILEUTILS_PRESERVE_SYMLINKS into FILEUTILS_DEREFERENCE.Matt Kraai
2001-04-24Rewrote rm.Matt Kraai
2001-04-24Use generic flag names.Matt Kraai
2001-04-23Rewrite cp and mv to be SUSv2 compliant.Matt Kraai
2000-02-07A few minor updates. ;-)Erik Andersen
Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik
2000-01-08Fix cp and mv so 'cp foo/README bar' where foo and bar are directories,Erik Andersen
and README is a file. -Erik
1999-12-29Fixed mv so it now does the right thing (same method used in cp). RemovedErik Andersen
some cruft from cp. -Erik
1999-12-29Fixed cp so it works as God intended it to.Erik Andersen
-Erik
1999-11-16StufEric Andersen
1999-11-10Updates to usage, and made tar work.Eric Andersen
-Erik
1999-10-20Fixed up copyright notices and suchEric Andersen
1999-10-18More stuff.Eric Andersen
-Erik
1999-10-18More fixesEric Andersen
1999-10-17Some fixes and suchEric Andersen
1999-10-09More stuff.Eric Andersen
1999-10-07more stuffEric Andersen
1999-10-05Initial revisionEric Andersen