| Newsgroups |
gmane.editors.sed.user |
| Message-ID |
<[email protected]> |
Hi Rakesh,
I know you are trying to help. But you didn't answer any of my
questions. :( I am not a newbie trying to learn sed. I have specific
questions I am looking for experts such as yourself to weigh in on.
You are probably aware that some sed versions do not support ; syntax.
Plus, the POSIX standard does not mention ; syntax. So offering ; as a
solution doesn't help anyway.
Personally, I think it is fair to say, "sed supports # comments starting
any column", since that is what POSIX says. I am looking for someone to
explain why that is not true.
Thanks,
Daniel
On 8/11/2015 12:23 AM, Rakesh Sharma [sed-users] wrote:
> I normally use the ";#" syntax to start comments. The semicolon would start a newline and the # would then start at the first column, thus satisfying both.
>
>
>> s/x/y/ # Silly comment 1
>
> s/x/y/ ;# Silly comment 1
>
> ________________________________