Commit Graph

440 Commits

Author SHA1 Message Date
da533ad0e5 More robust when going through group members 2007-09-27 01:08:57 +00:00
c13c4c2528 Implemented partly -H 2007-09-18 22:04:45 +00:00
4e9b3c0ab0 Code cleanup 2007-09-18 22:04:23 +00:00
b9613aa9a1 Supports many more commands 2007-09-15 10:28:44 +00:00
0e94c7100b Parsing probably more accurate for -nouser and -nogroup 2007-09-12 23:38:27 +00:00
84296898dc Supports -prune 2007-09-12 23:36:29 +00:00
f897d18c21 Code cleanup 2007-09-12 23:26:16 +00:00
abca89e3c2 Fixed -name as it returned before evaluating the following primaries 2007-09-09 17:25:06 +00:00
e33d492ef0 Implemented -name 2007-09-09 17:23:36 +00:00
9dbf24fdef Code cleanup 2007-09-09 16:18:38 +00:00
510b3517ec Recognizes the first command entered 2007-09-09 16:12:28 +00:00
dceb83a246 Added target find 2007-09-09 15:59:26 +00:00
f136e46342 Implemented tail by line count 2007-08-22 01:55:50 +00:00
cc60015ea7 Unifying usage screens 2007-08-17 17:03:33 +00:00
25d1644d43 Fixed use before initialization 2007-08-03 01:36:58 +00:00
b3ec4fa2be Code cleanup 2007-08-03 01:32:59 +00:00
1dd4e45e98 Implemented recursion for cross-device moving 2007-08-03 01:32:31 +00:00
2df6ec2667 Fixed copy or regular files across devices 2007-08-03 01:14:22 +00:00
03e144c8ee Code cleanup
Fixed usage screen
2007-08-03 01:09:39 +00:00
9dc7ee76d2 Fixed usage screen 2007-08-03 01:09:14 +00:00
d88e2c65a2 Fixed compilation 2007-07-31 00:50:17 +00:00
e31c6fdafb Code cleanup 2007-07-31 00:49:41 +00:00
cae9308811 Code cleanup 2007-07-29 22:57:10 +00:00
d4e792fa88 ls can display unknown uid and gid 2007-07-29 17:11:02 +00:00
42ccfce4f6 Code cleanup 2007-07-29 17:10:32 +00:00
1a135949ed Fix compilation with DeforaOS libc 2007-07-29 17:01:09 +00:00
523554baf8 Hopefully fixed handling of -H, -L and -P options 2007-07-29 16:46:15 +00:00
e9f12002c1 Simpler and more portable code (cannot avoid TOCTOU anyway) 2007-07-29 16:18:02 +00:00
1d73c291f1 Factorized confirmation code 2007-07-29 16:12:59 +00:00
2ba9d0e69a Added a comment 2007-07-29 16:06:39 +00:00
e223e0d50e Do not confirm when source or destination is absent 2007-07-29 15:59:35 +00:00
494c4a1a25 Re-organized the code 2007-07-29 15:41:54 +00:00
1c0a70ec20 Code cleanup 2007-07-29 14:01:49 +00:00
d9d0ba0c00 Stricter use of readlink() 2007-07-29 11:46:03 +00:00
f740fb5336 Code cleanup 2007-07-29 11:43:56 +00:00
17c0fae701 Code cleanup 2007-07-29 11:42:54 +00:00
baa2cd5f37 Replaced lchmod() and lutimes() by utimes() for portability 2007-07-29 02:15:46 +00:00
ac0b1f8db7 Restoring access and modification times 2007-07-29 01:38:35 +00:00
2651c6e0d5 Handling device nodes 2007-07-29 01:34:40 +00:00
f4b626c678 Handling named pipes 2007-07-29 01:26:36 +00:00
c56e1ff381 Restoring original ownership and permissions 2007-07-29 01:22:23 +00:00
7b82474d4f Implemented confirmation and fixed moving directories across devices 2007-07-29 01:14:00 +00:00
67794dcc42 Supporting cross-device file renaming 2007-07-08 11:14:34 +00:00
e4831defec Code cleanup 2007-06-29 15:19:20 +00:00
6095a382c9 Cleaned error handling 2007-06-26 18:01:29 +00:00
9d1a58881b Cleaned error code 2007-06-26 18:00:29 +00:00
e07dfc0403 Works in one case (bytes, seekable) 2007-06-26 08:47:06 +00:00
39924d1c66 Started implementation 2007-06-26 08:17:30 +00:00
45a3956e23 Code cleanup fixes warnings about signedness issues 2007-06-25 09:33:44 +00:00
238e7801e7 Parsing command line arguments 2007-06-21 12:41:44 +00:00
ee6c7787cd Failing to delete a file in recursively was bailing out prematurely 2007-06-20 03:03:57 +00:00
09bd4adb64 Fixed error code when attempting to delete directories not recursively 2007-06-18 03:27:17 +00:00
58d32754ca The first two directory entries may not be "." and ".." 2007-06-18 03:21:45 +00:00
bd748050e2 Code cleanup 2007-06-18 03:19:08 +00:00
a65a1a5d5c Using errno to print the error when unable to delete a directory 2007-06-18 02:28:50 +00:00
00af06fd5e Properly licensed as part of the DeforaOS Project 2007-06-13 19:03:50 +00:00
e7b557a157 Code cleanup 2007-06-02 17:46:26 +00:00
393ef41b69 Usage and error strings were wrong 2007-06-02 15:53:19 +00:00
4654b72291 Code cleanup 2007-06-01 16:34:47 +00:00
02d40b2210 Code cleanup 2007-05-22 02:33:52 +00:00
a8f6d8366f More code cleanup 2007-05-14 18:25:31 +00:00
c8655f7c76 I believe id.c is a bit more readable now 2007-05-14 18:21:41 +00:00
d4496e5f84 Massive cleanup 2007-05-14 18:20:50 +00:00
706f34f49b Revert 1.8 2007-05-09 22:37:22 +00:00
22c02149f9 localtime() does not return NULL 2007-05-09 22:36:01 +00:00
c3f10f08f2 Code cleanup 2007-05-09 22:32:02 +00:00
52c3dfc1ea Code cleanup 2007-05-09 22:24:48 +00:00
991a400776 Implemented -F 2007-05-09 21:43:58 +00:00
04059075af Implemented -h and -n 2007-05-09 21:40:04 +00:00
64c96d0722 Fixed header formatting 2007-05-09 21:24:23 +00:00
c4c26a9dab Fixed header date and text with standard input 2007-05-09 21:22:25 +00:00
83088b30bb Implemented -o, Displaying time, Code cleanup 2007-05-09 21:13:18 +00:00
f3ddf49303 Implemented -d 2007-05-09 20:26:30 +00:00
97cd6d37d8 Added page number 2007-05-09 20:17:10 +00:00
ee2517359b Fix -t and -l with less than 11 lines 2007-05-09 20:15:52 +00:00
bdd46b87e2 Supports arbitrary large width 2007-05-09 20:09:08 +00:00
1cf9a01bc0 Added pr and printf 2007-05-08 16:40:00 +00:00
732c193c91 Initial release 2007-05-08 16:37:48 +00:00
288fbbe6bb Code cleanup 2007-05-08 16:37:23 +00:00
5fb3c7d88a Let df compile again on Linux 2007-03-28 05:39:38 +00:00
bc5a1b6be3 Code cleanup 2007-03-28 05:25:55 +00:00
c596ba0562 Code cleanup 2007-03-28 05:14:02 +00:00
b5132b4855 Supports systems without the d_type field in struct dirent 2007-03-28 05:03:27 +00:00
b00b5b9602 Implemented -i 2007-03-28 04:51:24 +00:00
d91bdcf3fd Displaying numerical uid and gid when unknown 2007-03-25 15:42:12 +00:00
1398021ba8 Code cleanup 2007-03-25 15:35:58 +00:00
092b5b9b0e Fixed interactive mode spurious error messages on EOF 2007-03-25 14:31:04 +00:00
27146b75d9 More adequate error messages 2007-03-17 18:53:25 +00:00
6562d4c302 Added copyright string 2007-03-17 18:18:58 +00:00
ebfb69001f Provided mv basic functionality 2007-03-17 18:06:47 +00:00
18b631ed12 Fixed error code when a memory allocation error occured 2007-03-17 18:04:16 +00:00
e36447da8f Code cleanup 2007-03-17 18:02:03 +00:00
fd174ae198 Hopefully fixed -P and -H 2007-03-17 17:53:28 +00:00
568f3e7088 Removed bloat code (-P has to be implemented another way) 2007-03-17 17:47:43 +00:00
cb8688366a With more than two file operands the last one must already be a directory 2007-03-17 17:37:37 +00:00
1ad51d9fe6 Added stub for mv 2007-03-17 17:19:50 +00:00
f648dd32b3 Code cleanup 2007-03-17 16:53:01 +00:00
7a1bab59cf Code cleanup 2007-03-17 16:46:36 +00:00
68ec0c73d0 Actually implemented -H and -P 2007-03-17 16:42:19 +00:00
bab1549e4d Implemented recursion 2007-03-17 16:06:23 +00:00