Suppose i have a file like this:
#bla bla #bla bla bla bla bla
Bla BLA BLA BLA #bla bla .... ....
how can i remove all comments from every line,even if they are behind commands or strngs that are not comments? any idea how i could do that using awk?
sed 's/#//g' filename
will give bla bla bla bla bla bla bla
Bla BLA BLA BLA bla bla .... ....
cheers, Devaraj Takhellambam
thnks a lot!i found another solution too but i will try this one as well;)