Search Results

Search: Posts Made By: gravesit
9,864
Posted By gravesit
The only thing I don't like about that solution...
The only thing I don't like about that solution is it removes all the blank lines in the file also.
9,864
Posted By gravesit
Works great, thanks again.
Works great, thanks again.
9,864
Posted By gravesit
Perfect, thanks. ---------- Post updated at...
Perfect, thanks.

---------- Post updated at 12:05 PM ---------- Previous update was at 11:37 AM ----------

What about comments like this?
<!-- Comment -->
9,864
Posted By gravesit
sed remove css comments
Is there a way that I can use sed to remove lines with css comments like this?
/* comment */
12,062
Posted By gravesit
Thanks works great.
Thanks works great.
12,062
Posted By gravesit
sed remove comments
I need to use sed to remove comments from files. I am using this, but it only works on comments that start at the beginning of the line.
sed /^"\/\/"/d

In most of the files I have comments like...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 07:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy