Thanks guys, i appreciate your comments back. I understand that apparently there are other ways, many much simpler, to do what I have done inside ls.c, however, I like it in ls.c, it's convienent. Almost any conceivable use of ls can be combined with my new -Z switch, making it convienent to me.
Thanks again for the comments. -- goesh On Thu, June 15, 2006 23:52, Jim Meyering wrote: > [EMAIL PROTECTED] (Bob Proulx) wrote: >> goesh wrote: >>> Further, i have used find . -print >>> to do the same thing, however, i really like having the absoulte path >>> in >>> outputs such as ls -ltr, and i could not see a way to get find to do >>> this. >>> ... >>> $ ls -ltrZ >> >> Well, I can't think of a way to have find sort by time. So it can't >> replace the ls -t behavior. But otherwise the following is similar. >> >> find $PWD/* -ls > > Hi Bob, > > You can make find print the mod-or-access time as an integer, > along with the full file name, and then sort the result on time stamp: > > find $PWD/* -printf '%A@ %p\n'|sort -nr > > This email was sent from goesh.us. goesh.us _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils