Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Find the shortest word in the English Language with: a b c d e f

by QM (Parson)
on Jul 04, 2018 at 14:56 UTC ( [id://1217894]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    w -r a -r b -r c -r d -r e -r f|perl -ple '$_=length($_)." $_"'|sort -
    +n|head -1
    
  2. or download this
    w -r a -r b -r c -r d -r e -r f -r g|perl -ple '$_=length($_)." $_"'
    
  3. or download this
    w -c '$_=shift;length if/a/&&/b/&&/c/&&/d/&&/e/&&/f/'|sort -n -k 3|hea
    +d -1
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1217894]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (1)
As of 2024-04-24 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found