CACM logo

ACM TechNews

Usenix: Dartmouth Updating Diff, Grep Unix Tools

[article image]
Credit: Jon Gilbert Fox for The New York Times

Dartmouth University researchers are updating the grep and diff Unix command line-based text analysis tools available in all Linux and Unix distributions to handle more complex types of data.

The updates are needed because "we now tend to have more model-based configuration languages that have meaningful constructs spanning more than one line," says Dartmouth graduate student Gabriel Weaver.

The researchers say the updated tools will enable administrators to extract meaningful data from configuration files, log files, and other sources of operational data. The output from either of these programs can be linked to other utilities, enabling them to be incorporated into scripts that automate routine system administration tasks.

The new programs, called Context-Free Grep and Hierarchical Diff, will provide the ability to parse blocks of data rather than single lines. For each new type of data structure, a vendor would provide a pattern library identifying the basic structure of the data, which the software would then use to "extract the constructs of interest from the document," Weaver says.

From IDG News Service
View Full Article

Abstracts Copyright © 2011 Information Inc. External Link, Bethesda, Maryland, USA 

 
Post a comment...
Name: Anonymous

Signed and anonymous comments submitted to this site are moderated and will appear if they are relevant to the topic and not abusive. Your comment will appear with your username if you are signed into the site, and will be anonymous if you are not signed in. View our policy on comments

Tools For Readers

Bookmark and Share
Default Font Size Large Font Size X-Large Font Size Text Size

Related ACM Resources

Conferences:

Courses:


About Communications | Join ACM External Link | Renew External Link | Subscribe External Link | Sign In | For Authors | For Advertisers External Link | Privacy | Site Map | Help | Contact Us | Mobile Site

Copyright © 2012 by the ACM. All rights reserved.