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...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

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 #1011 of 1026 |
Re: [asterisk-anz] Striping comments from make samples

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 at 8am ;)

--
Steven Haigh

Email: netwiz@...
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897





On 27/08/2008, at 5:08 AM, Kevin Kelley wrote:

> 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
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>




Tue Aug 26, 2008 10:22 pm

crcinau
Offline Offline
Send Email Send Email

Forward
Message #1011 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