[Techtalk] real life kewl text-processing and regexps samples wanted

Finne Boonen fboonen at vub.ac.be
Sat Jan 10 11:30:06 EST 2004


texi2pdf foo.latex && ps2ascii foo.pdf | wc -w

in order to see wether my assignement is long enough :)
(not sure wether this one counts)

Finne

On Fri, 9 Jan 2004,
Carla
Schroder wrote:

> Howdy gang,
> 
> I'm putting together a sort of 'text and file processing howto', and I'm 
> looking for real-life useful examples. I'm not sure what I'm going to do with 
> it, either make a technical FAQ page on linuxchix.org, or my own web site, or 
> something. I might even propose it to tldp.org. But wherever it lands, it 
> first must be written.
> 
> I want anything and everything, what I like best are useful snippets that 
> actually do something. For example, Telsa posted this on one of the lists:
> 
> man foo | col -b > filename
> 
> This strips the control characters and creates a nice editable file. How cool 
> is that? There's zillions of these kinds of things that people use all the 
> time. This is one I picked up on IRC from kathryn:
> 
> awk -F: '($3 >= 1050) &&($3 <=1060)  { print $1}' /etc/passwd 
> 
> It's an easy way to select a range of lines and print only the fields that I 
> want.  It took me five minutes of tinkering to figure out about a dozen 
> different ways to use this command.
> 
> Putting together a page of live, working examples is a superior teaching tool. 
> 
> So let's have 'em, and don't be shy.
> 
> thanks!
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> Carla Schroder
> www.tuxcomputing.com
> this message brought to you
> by Libranet 2.8 and Kmail
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/techtalk
> 

***********************************************************************************************
normally reserved for signatures
currently lacking one



More information about the Techtalk mailing list