Search the web
Sign In
New User? Sign Up
asterisk-anz · Asterisk Australia/New Zealand Users
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Striping comments from make samples   Message List  
Reply | Forward Message #1010 of 1026 |
Is there a command to strip the default comments in extensions, sip,
zap.conf ? all I would like to leave is the non commented default data
in the .conf file.

Kevin kelley




Tue Aug 26, 2008 7:08 pm

xirin6
Offline Offline
Send Email Send Email

Forward
Message #1010 of 1026 |
Expand Messages Author Sort by Date

Is there a command to strip the default comments in extensions, sip, zap.conf ? all I would like to leave is the non commented default data in the .conf file. ...
Kevin Kelley
xirin6
Offline Send Email
Aug 26, 2008
7:08 pm

try: grep -v ";" infile.conf > outfile.conf Then just clean up the white space... There may be a way to auto-prune extra whitespace, but nothing comes to mind...
Steven Haigh
crcinau
Offline Send Email
Aug 26, 2008
10:22 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help