[ale] HELP Scripting gurus

Fletch fletch at phydeaux.org
Wed Apr 24 09:38:03 EDT 2002


>>>>> "Thomas" == Thomas Mazukna <Mazukna> writes:

    Thomas> HELP!  need to find out lines in a text file where chars
    Thomas> 57-58 = "12" awk or sed is capable of doing this ?

        perl -lane 'print if substr($_,57,2) eq "12"'

-- 
Fletch                | "If you find my answers frightening,       __`'/|
fletch at phydeaux.org   |  Vincent, you should cease askin'          \ o.O'
770 933-0600 x211(w)  |  scary questions." -- Jules                =(___)=
770 294-0820 (m)      |                                               U

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list