|
In lugnet.general, Todd Lehman writes:
> Here's a q&d pseudo-grep, if that helps...
>
> #!/bin/sh
> cat /home/username/lego/bynumber.txt | \
> perl -e 'my %x = map {(split(/\t/,$_,2))[0], $_} grep {/^\d.*\t/} <STDIN>;
> print join "", map {$x{$_}} @ARGV;' $*
What exactly does this bit of code do? How do I use it? (I've done some
programming, but only in C, and nothing really fancy) Where can I get a copy of
bynumber.txt?--if it includes all the info I need, I could probably throw some
code together to search it myself .
--Bram
|
|
Message has 1 Reply:
Message is in Reply To:
11 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|