Linux Today: Linux News On Internet Time.
Search Linux Today
search.internet.com
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Become a Marketplace Partner

internet.commerce
Be a Commerce Partner














The Linux Channel at internet.com
Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Subscribe News
Subscribe PR
Subscribe Security

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

Microsoft Exchange alternatives

Kubuntu 9.10: A Mixed Bag

Could Microsoft switch to Linux?

Red Hat Virtualization Manager for Windows Only?

Creating Ebooks with Sigil

Editor's Note: Making Multi-Channel Firewire Music With Linux

Amaya: A Simple, Yet Useful Alternative to Dreamweaver

Windows 7 Sales Up, But is it Really a Hit?

Over clocking intel i7 on a Gigabyte EX58-Extreme

Novell cuts 3 percent of its workforce, plus benefits




Sr Systems Engineer - Solaris, Red Hat/Linux, AIX (Houston, TX)
Next Step Systems
US-TX-Houston

Justtechjobs.com Post A Job | Post A Resume
:Using Grep To Streamline Your Shell And Command Line Scripting
Using Grep To Streamline Your Shell And Command Line Scripting
Aug 8, 2008, 20 :30 UTC (2 Talkback[s]) (5387 reads)

(Other stories by Mike Tremell)

[ Thanks to Mike Golvach for this link. ]

"Today, we're going to look at a few ways we can use grep to clean up our shell scripting and make it look (and, most of the time, actually "be") more efficient. The solutions presented in this post can be one-upped by any number of other standard Unix/Linux commands, but (for the sake of this post) we're going to assume that "grep" is the be-all-end-all of input and output processing. Suspend your disbelief, for as long as it takes to read this post, and assume that the world is flat, grep's it and that's that."

Complete Story

Related Stories:
Bash Regular Expressions(May 28, 2008)
Text Substitution with RPL(Jan 25, 2008)
Using grep and sed to Find and Replace(Nov 29, 2007)
Linux Magazine: What's GNU in Old Utilities, Part Two(Nov 17, 2005)


Index Mode   |   Flat Mode   |   Thread Mode   |   Thread Flat  
  Talkback(s) Name  and Date
Treating grep -c . as an analog to wc -l ...   Some mis-information   
Frank Ranner
Aug 9, 2008, 04:02:22
 
Why didn't you bother to point out t ...   Re: Some mis-information   
Vance
Aug 10, 2008, 04:45:35
 
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!






..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs