Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Perl Breakdown
Getting slightly off-topic now, I never said ls's output wasn't
POSIX-compliant. I stated that the output itself is inconsistent, similar
to the output generated from grep'ing one file versus several files. And
this is highly undesirable in shells that rely on the output of one program
to be the input of another (via pipes, tees, and redirects for example).
Contrast this to OpenVMS' DCL that expressly prohibits the practice.
Instead, an API is offered to most programs via lexical functions. Much
cleaner method of scripting/programming.
And even after all this hacked mess, Unix is *still* far more stable than Winders! (couldn't resist!) :D
Rich
Rich Jesse System/Database Administrator Rich.Jesse_at_qtiworld.com Quad/Tech International, Sussex, WI USA
> -----Original Message-----
> From: Markus Reger [mailto:reger_at_mdw.ac.at]
> Sent: Sunday, January 26, 2003 4:34 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: Perl Breakdown
>
>
> hello to everybody
>
> the ls behaviour regarding date information is POSIXly
> correct. after 6 months the date is displayed in a different
> way.only linux user have an optional parameter to change the
> timeformat for all displayed items.
>
> the perl script - for purist
> " scalar localtime stat \"${1}\" [9] " would do the job as
> well - is great. teaching perl myself and this date problem
> is a known issue on unixes.
>
> so this or similar scripts are used in other places as well.
>
>
>
> apologies for any typos overlooked
>
> kr mr
> >>> jkstill_at_cybcon.com 01/26/03 00:02 AM >>>
>
> Interesting utility, though you need to navigate to the CVS
> browser to actually get the file.
>
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/els/els/
>
> Jared
>
>
> On Saturday 25 January 2003 07:23, Jesse, Rich wrote:
> > Having the same problem of inconsistent output from "ls"
> (and other Unix
> > commands!), I grabbed "els" from
> http://www.sourceforge.net. I use "els -p
> > +Gmsn +TMDY3", aliased of course, to produce consistent
> listings everytime.
> > For an "ls -l" equivalent, I use "els -l +TMDY3".
> >
> > HTH! GL! :)
> >
> > Rich
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jesse, Rich INET: Rich.Jesse_at_qtiworld.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon Jan 27 2003 - 10:04:59 CST
![]() |
![]() |