opendir() and @dirlist()

Enrique Arredondo henry at vegena.net
Wed Nov 16 16:45:28 PST 2005


----- Original Message ----- 
From: "Bob Stockler" <bob at trebor.iglou.com>
To: "Enrique Arredondo" <henry at vegena.net>
Cc: "filePro Mailing List" <filepro-list at lists.celestial.com>
Sent: Wednesday, November 16, 2005 4:38 PM
Subject: Re: opendir() and @dirlist()


> Enrique Arredondo wrote (on Wed, Nov 16, 2005 at 02:59:50PM -0800):
> [snip]
>
> | Very Nice!!! , It shows all of the files no matter the size! even
> | directories.
>
> A lot easier to use, and more versitle, than using the
> filePro specific commands, isn't it?  Thank the authors
> of filePro for these other features, applicable to any
> files on your system.
>
> I still don't know what OS you're on, but if you're on
> UNIX or Linux it's susceptible to a lot of variations.
>
> For instance, the SYSTEM argument could be modified:
>
>  1 - To eliminate directories:
>
>        ls -l | grep -v '^d' | awk '{ print $NF }'
>
>  2 - To return only directories:
>
>        ls -l | grep '^d' | awk '{ print $NF }'
>
>  3 - To put output in time order, rather than name order:
>
>        ls -t
>        ls -rt
>
> and any more of the options you might find useful.
>
> Bob
>
> PS - For nit pickers - I know that the use of grep in a
>     pipeline to awk is wasteful.  I used grep in the
>     examples above for brief clarity of the ideas.
>
> -- 
> Bob Stockler  +-+  bob at trebor.iglou.com  +-+ 
> http://members.iglou.com/trebor
> Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User 
> Menus.
> Fully functional (time-limited) demos available by email request (specify 
> OS).

My cgi script works great, now all my docs are being displayed correctly. 
Two thumbs up! Thanks!!!!

FYI: I'm using unix OSR 5.0.7 , thanks again.

And thanks to all that contributed to this threath 



More information about the Filepro-list mailing list