Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. paketecuento

    match lines with ";" caracter

    much clean and better... :) thanks
  2. paketecuento

    match lines with ";" caracter

    it looks like this do the trick for me awk '!/^[ \t]*;/' foo.conf | awk '$0!~/^$/ {print $0}'
  3. paketecuento

    match lines with ";" caracter

    yes, it works!!! Only now, it rest to hide/delete all the blank lines in the output.. I mean: var1=1 var2=2 var3=3 should be var1=1 var2=2 var3=3 thanks
  4. paketecuento

    match lines with ";" caracter

    Hi, I was trying to build some kind of filter for files containing commented lines (those starting wiht ";"). The problem arises when some of these lines are indented. For example: ------------------------------------- foo.conf ;hello variable=12 ;some comment ;comment indented...

Part and Inventory Search

Back
Top