Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: easy-directories



On Fri, Dec 08, 2000 at 12:00:05AM +0900, Stephen J. Turnbull wrote:
> Alternatively you could use something more complicated to parse
> /etc/passwd.

It's called Perl. :)
 
perl -e 'while (@example.com=getpwent) { mkdir "$_[7]/test" if $_[2]>100};'
perl -MUser::pwent -e 'while ($_=getpwent) { mkdir $->dir."/test" 
    if $_->id >100};'
# for suitable values of 100

-- 
It's a short step from using alt.binaries.warez.protocol-droids.c3p0 to
Palpatine seeing a post along the lines of: "CA|\| NE1 0N Th]5 BB0ARD T3Ll M3
H0w 2 GeT KeWL S]Th P0WeRZ!?!?!?!??!?"  The rest is, well, a couple
more overly-hyped ILM graphics demos.  -- henke@example.com in ASR


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links