ViewVC Help
View Directory | Revision Log | View Changeset | Root Listing
root/src/trunk/bin
Revision 1188 - Directory Listing - [select for diffs]
Modified Sun Aug 12 07:53:21 2007 UTC (16 years, 10 months ago) by laffer1
Diff to previous 1108 , to selected 232
Our pax and cpio implementations do not support GNU style long options.  This is causing me hell in the transition off GNU cpio.  This adds some of the GNU longopts for cpio.

From NetBSD.

Revision 1108 - Directory Listing - [select for diffs]
Modified Thu Jul 26 20:17:41 2007 UTC (16 years, 10 months ago) by laffer1
Diff to previous 1091 , to selected 232
$MidnightBSD$

Revision 1091 - Directory Listing - [select for diffs]
Modified Wed Jul 25 06:47:43 2007 UTC (16 years, 10 months ago) by alex
Diff to previous 1090 , to selected 232
use usage function

Revision 1090 - Directory Listing - [select for diffs]
Modified Wed Jul 25 06:38:46 2007 UTC (16 years, 10 months ago) by alex
Diff to previous 1086 , to selected 232
clean up usage
remove a lint warning by adding not reached

Revision 1086 - Directory Listing - [select for diffs]
Modified Mon Jul 23 22:50:45 2007 UTC (16 years, 10 months ago) by alex
Diff to previous 1085 , to selected 232
fix more typos

Revision 1085 - Directory Listing - [select for diffs]
Modified Mon Jul 23 22:48:19 2007 UTC (16 years, 10 months ago) by alex
Diff to previous 1084 , to selected 232
fix comment typo

Revision 1084 - Directory Listing - [select for diffs]
Modified Mon Jul 23 22:45:27 2007 UTC (16 years, 10 months ago) by alex
Diff to previous 1082 , to selected 232
security fix, strcpy to strlcpy

Revision 1082 - Directory Listing - [select for diffs]
Modified Mon Jul 23 16:14:40 2007 UTC (16 years, 10 months ago) by laffer1
Diff to previous 1081 , to selected 232
kflag was defined twice.

Revision 1081 - Directory Listing - [select for diffs]
Modified Mon Jul 23 13:03:56 2007 UTC (16 years, 10 months ago) by alex
Diff to previous 1080 , to selected 232
add -f flag to usage

Revision 1080 - Directory Listing - [select for diffs]
Modified Mon Jul 23 13:02:06 2007 UTC (16 years, 10 months ago) by alex
Diff to previous 1079 , to selected 232
add support for linux scripts by adding "-f" flag to hostname

Revision 1079 - Directory Listing - [select for diffs]
Modified Mon Jul 23 12:49:56 2007 UTC (16 years, 10 months ago) by alex
Diff to previous 1078 , to selected 232
make putenv() calls conform to -W compile flag

Revision 1078 - Directory Listing - [select for diffs]
Modified Mon Jul 23 12:42:30 2007 UTC (16 years, 10 months ago) by alex
Diff to previous 1077 , to selected 232
should be long, not u_long

Revision 1077 - Directory Listing - [select for diffs]
Modified Mon Jul 23 12:39:39 2007 UTC (16 years, 10 months ago) by alex
Diff to previous 1076 , to selected 232
-l and -t are mutually exclusive

Revision 1076 - Directory Listing - [select for diffs]
Modified Mon Jul 23 12:34:12 2007 UTC (16 years, 10 months ago) by alex
Diff to previous 1075 , to selected 232
fix blocksize

Revision 1075 - Directory Listing - [select for diffs]
Modified Mon Jul 23 12:27:22 2007 UTC (16 years, 10 months ago) by alex
Diff to previous 1074 , to selected 232
two security fixes, use strlcpy instead of strncpy

Revision 1074 - Directory Listing - [select for diffs]
Modified Mon Jul 23 12:22:02 2007 UTC (16 years, 10 months ago) by alex
Diff to previous 1073 , to selected 232
security fix, use strlcpy instead of strncpy

Revision 1073 - Directory Listing - [select for diffs]
Modified Mon Jul 23 12:12:50 2007 UTC (16 years, 10 months ago) by alex
Diff to previous 1068 , to selected 232
close on error

Revision 1068 - Directory Listing - [select for diffs]
Modified Sun Jul 22 09:45:20 2007 UTC (16 years, 10 months ago) by laffer1
Diff to previous 1067 , to selected 232
$MidnightBSD$

Revision 1067 - Directory Listing - [select for diffs]
Modified Sun Jul 22 09:42:26 2007 UTC (16 years, 10 months ago) by laffer1
Diff to previous 1057 , to selected 232
Start using old BSD cpio.

Revision 1057 - Directory Listing - [select for diffs]
Modified Thu Jul 19 09:36:39 2007 UTC (16 years, 11 months ago) by laffer1
Diff to previous 1021 , to selected 232
Add Matt Dillon's cpdup from DragonFly

Revision 1021 - Directory Listing - [select for diffs]
Modified Sat Jul 14 15:51:00 2007 UTC (16 years, 11 months ago) by alex
Diff to previous 950 , to selected 232
change incorrect filename on fstat() failure

Revision 950 - Directory Listing - [select for diffs]
Modified Tue Apr 10 21:30:11 2007 UTC (17 years, 2 months ago) by laffer1
Diff to previous 949 , to selected 232
$MidnightBSD$

Revision 949 - Directory Listing - [select for diffs]
Modified Tue Apr 10 21:17:35 2007 UTC (17 years, 2 months ago) by laffer1
Diff to previous 883 , to selected 232
Update build for tcsh-6.15.00

Revision 883 - Directory Listing - [select for diffs]
Modified Fri Mar 30 01:48:15 2007 UTC (17 years, 2 months ago) by archite
Diff to previous 878 , to selected 232
To avoid any confusion, the default PS1 for a user user with UID != 0
has been changed back to "$ ". Please update either ~/.profile or
~/.kshrc if you prefer to use the previous "> " PS1. While consistancy
is important, we have decided that we do not want to confuse anyone
who might mistake the previous PS1 for that of {t}csh's default prompt.

Revision 878 - Directory Listing - [select for diffs]
Modified Thu Mar 29 20:02:18 2007 UTC (17 years, 2 months ago) by archite
Diff to previous 439 , to selected 232
Update to main.c to make ksh more csh like for consistancy.

Revision 439 - Directory Listing - [select for diffs]
Modified Sun Dec 31 09:09:40 2006 UTC (17 years, 5 months ago) by laffer1
Diff to previous 336 , to selected 232
Enable the NLS catalog of csh(1).  Since this requires libiconv which is not part of base, I've imported the stub from FreeBSD.

Revision 336 - Directory Listing - [select for diffs]
Modified Thu Nov 30 04:09:58 2006 UTC (17 years, 6 months ago) by laffer1
Diff to previous 335 , to selected 232
Minor cleanup

Revision 335 - Directory Listing - [select for diffs]
Modified Thu Nov 30 03:58:23 2006 UTC (17 years, 6 months ago) by laffer1
Diff to previous 334 , to selected 232
Fix setmode error handling.

Revision 334 - Directory Listing - [select for diffs]
Modified Thu Nov 30 03:54:25 2006 UTC (17 years, 6 months ago) by laffer1
Diff to previous 319 , to selected 232
Minor cleanups to sync.  $MidnightBSD$

Cleaned up source so that it would be more portable and inline with NetBSD.

Revision 319 - Directory Listing - [select for diffs]
Modified Mon Oct 30 16:55:24 2006 UTC (17 years, 7 months ago) by laffer1
Diff to previous 276 , to selected 232
Be reasonable when overwrite mode is enabled and there are hard links.  Overwriting when links > 1 will cause data loss.

Obtained from FreeBSD, OpenBSD.

Revision 276 - Directory Listing - [select for diffs]
Modified Wed Oct 18 15:52:35 2006 UTC (17 years, 8 months ago) by laffer1
Diff to previous 275 , to selected 232
Avoid a warning for each whiteout found during ls -lW

# ls -lW
total 2
-rw-r--r--  1 root  wheel  6 Oct 18 14:46 file1
ls: ./file2: No such file or directory
w---------  0 root  wheel  0 Jan  1  1970 file2

From FreeBSD rev 1.76

Revision 275 - Directory Listing - [select for diffs]
Modified Wed Oct 18 15:47:38 2006 UTC (17 years, 8 months ago) by laffer1
Diff to previous 233 , to selected 232
Do not call chflags() for whiteouted files.  From FreeBSD rev 1.56

Revision 233 - Directory Listing - [select for diffs]
Modified Sun Oct 8 15:19:03 2006 UTC (17 years, 8 months ago) by laffer1
Diff to previous 232
Don't interpret .//dir as /dir.

Revision 232 - Directory Listing - [selected]
Modified Sun Oct 8 15:16:20 2006 UTC (17 years, 8 months ago) by laffer1
Diff to previous 231
document changes.

Revision 231 - Directory Listing - [select for diffs]
Modified Sun Oct 8 15:15:15 2006 UTC (17 years, 8 months ago) by laffer1
Diff to previous 230 , to selected 232
Copy filename read from stdin into the private buffer.

Revision 230 - Directory Listing - [select for diffs]
Modified Sun Oct 8 15:12:18 2006 UTC (17 years, 8 months ago) by laffer1
Diff to previous 229 , to selected 232
Fix typo.

Revision 229 - Directory Listing - [select for diffs]
Modified Sun Oct 8 15:11:04 2006 UTC (17 years, 8 months ago) by laffer1
Diff to previous 228 , to selected 232
Be pedantic and do fts_close() when done.

Revision 228 - Directory Listing - [select for diffs]
Modified Sun Oct 8 15:09:01 2006 UTC (17 years, 8 months ago) by laffer1
Diff to previous 227 , to selected 232
Fix some typos and clarify some information in the man page regarding column title such as =foo at the end of -o.

Revision 227 - Directory Listing - [select for diffs]
Modified Sun Oct 8 15:06:27 2006 UTC (17 years, 8 months ago) by laffer1
Diff to previous 226 , to selected 232
Fix the case where the user specifies an alternate heading for some output format keyword and the keyword they picked is an alias to some other keyword. This includes the segfault fixes.  (FreeBSD)

Revision 226 - Directory Listing - [select for diffs]
Modified Sun Oct 8 14:59:26 2006 UTC (17 years, 8 months ago) by laffer1
Diff to previous 225 , to selected 232
Add -F option to delete empty directories when creating a new symlink.

Revision 225 - Directory Listing - [select for diffs]
Modified Sun Oct 8 14:27:29 2006 UTC (17 years, 8 months ago) by laffer1
Diff to previous 188 , to selected 232
update manpage

Revision 188 - Directory Listing - [select for diffs]
Modified Sat Sep 23 02:56:53 2006 UTC (17 years, 8 months ago) by laffer1
Diff to previous 167 , to selected 232
Fix POSIX compliance.

Revision 167 - Directory Listing - [select for diffs]
Modified Sat Sep 9 14:06:07 2006 UTC (17 years, 9 months ago) by laffer1
Diff to previous 166 , to selected 232
Fix standards section as we renamed -p to -D.

Revision 166 - Directory Listing - [select for diffs]
Modified Sat Sep 9 13:48:40 2006 UTC (17 years, 9 months ago) by laffer1
Diff to previous 165 , to selected 232
Changed -p flag to -D for "Date".  Cleaned up the manual.  The utility now checks the length of the format argument and gives an error immediately.

I do not want cat to become a general purpose filter, but this functionality seems quite useful.

Revision 165 - Directory Listing - [select for diffs]
Modified Fri Sep 8 14:04:24 2006 UTC (17 years, 9 months ago) by laffer1
Diff to previous 160 , to selected 232
A new flag, -p, was added to cat which allows dates to be prepended to each line of output.  This could be useful when logging from scripts, etc.

The format is based on strftime
so cat -p %D test might print out
09/08/06testing this
if the file test contained testing this.

This is based on a patch floating around FreeBSD-Current.

Revision 160 - Directory Listing - [select for diffs]
Modified Mon Sep 4 21:00:53 2006 UTC (17 years, 9 months ago) by archite
Diff to previous 134 , to selected 232
Someone forgot to add ksh to bin/Makefile

Revision 134 - Directory Listing - [select for diffs]
Modified Sun Aug 27 18:49:41 2006 UTC (17 years, 9 months ago) by laffer1
Diff to previous 113 , to selected 232
Added Eric Anderson's patch for cp which adds -a an -l flags.

-a is an archive mode which is equivalent to -PpR
-l is link mode where regular files are hard linked instead of copied.

Revision 113 - Directory Listing - [select for diffs]
Modified Tue Aug 22 21:05:08 2006 UTC (17 years, 9 months ago) by archite
Diff to previous 92 , to selected 232
Added hack so that ^L clears the screen.

Revision 92 - Directory Listing - [select for diffs]
Modified Sun Aug 20 23:01:33 2006 UTC (17 years, 9 months ago) by adam
Diff to previous 65 , to selected 232
*** empty log message ***

Revision 65 - Directory Listing - [select for diffs]
Modified Fri Aug 18 23:13:16 2006 UTC (17 years, 10 months ago) by adam
Diff to previous 64 , to selected 232
Changed header information
Made KSH compile statically

Revision 64 - Directory Listing - [select for diffs]
Modified Fri Aug 18 00:44:47 2006 UTC (17 years, 10 months ago) by laffer1
Diff to previous 61 , to selected 232
Corrected compiler bug

Revision 61 - Directory Listing - [select for diffs]
Modified Thu Aug 17 13:00:11 2006 UTC (17 years, 10 months ago) by laffer1
Diff to previous 59 , to selected 232
Disabled stop on warning so ksh builds.  Eventually some code changes should be made to clear up the errors.

Revision 59 - Directory Listing - [select for diffs]
Modified Wed Aug 16 21:09:08 2006 UTC (17 years, 10 months ago) by laffer1
Diff to previous 46 , to selected 232
OpenBSD 3.9 ksh

Revision 46 - Directory Listing - [select for diffs]
Modified Fri Aug 4 17:10:41 2006 UTC (17 years, 10 months ago) by laffer1
Diff to previous 40 , to selected 232
FreeBSD-SA6:13 and 14 were patched.  The nis software and amd athlon fpu handling fixed.  Changes to echo and pfctl are needed to fix compile bugs with changes related to cvs tags and macros.

Revision 40 - Directory Listing - [select for diffs]
Modified Wed Jul 26 12:35:19 2006 UTC (17 years, 10 months ago) by laffer1
Diff to previous 36 , to selected 232
Added cvs tags.

Revision 36 - Directory Listing - [select for diffs]
Modified Wed Jul 19 13:56:55 2006 UTC (17 years, 11 months ago) by laffer1
Diff to previous 35 , to selected 232
Added cvs tags.

Revision 35 - Directory Listing - [select for diffs]
Modified Wed Jul 19 13:43:39 2006 UTC (17 years, 11 months ago) by laffer1
Diff to previous 33 , to selected 232
Added cvs tags

Revision 33 - Directory Listing - [select for diffs]
Modified Fri Jul 7 15:55:59 2006 UTC (17 years, 11 months ago) by laffer1
Diff to previous 32 , to selected 232
Added cvs id.

Revision 32 - Directory Listing - [select for diffs]
Modified Fri Jul 7 13:54:43 2006 UTC (17 years, 11 months ago) by laffer1
Diff to previous 31 , to selected 232
Add cvs ids.

Revision 31 - Directory Listing - [select for diffs]
Modified Fri Jul 7 13:50:33 2006 UTC (17 years, 11 months ago) by laffer1
Diff to previous 30 , to selected 232
Added cvs ids.

Revision 30 - Directory Listing - [select for diffs]
Modified Fri Jul 7 13:46:10 2006 UTC (17 years, 11 months ago) by laffer1
Diff to previous 29 , to selected 232
Added cvs ids

Revision 29 - Directory Listing - [select for diffs]
Modified Mon Jun 26 15:12:15 2006 UTC (17 years, 11 months ago) by laffer1
Diff to previous 28 , to selected 232
Modifying cvs tags and converting freebsd specific code.

Revision 28 - Directory Listing - [select for diffs]
Modified Mon May 22 06:14:15 2006 UTC (18 years ago) by laffer1
Diff to previous 10 , to selected 232
Added cvs header.

Revision 10 - Directory Listing - [select for diffs]
Modified Wed Mar 1 04:24:17 2006 UTC (18 years, 3 months ago) by laffer1
Diff to previous 6 , to selected 232
Corrected import error where csh.a was not added.

Revision 6 - Directory Listing - [select for diffs]
Modified Sat Feb 25 02:38:42 2006 UTC (18 years, 3 months ago) by laffer1
Diff to previous 3 , to selected 232
This commit was generated by cvs2svn to compensate for changes in r5, which
included commits to RCS files with non-trunk default branches.
Revision 3 - Directory Listing - [select for diffs]
Added Sat Feb 25 02:29:52 2006 UTC (18 years, 3 months ago) by laffer1
Diff to selected 232
This commit was generated by cvs2svn to compensate for changes in r2, which
included commits to RCS files with non-trunk default branches.

Convenience Links