Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Best way to keep script with generated output

by benizi (Hermit)
on Dec 06, 2009 at 20:47 UTC ( [id://811370]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # perl -lanwe '
    BEGIN { push @{$o{0+@$_}}, $_ for map [split//], qw/021 0132 0213 0231
    + 0312 0321/; }
    ...
    next if /LETTER \S+ WITH \S+ AND \S+/;
    print "@keys[@$_] @F[@keys..$#F]" for @{$o{0+@keys}}
    ' /usr/share/X11/locale/${LANG}/Compose
    
  2. or download this
    file=~/.XCompose-ordering
    line=$(head -n 1 $file)
    (print -lr $line ; eval ${line[3,-1]}) > $file
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://811370]
Approved by GrandFather
Front-paged by planetscape
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-19 03:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found