sed "Hello, world!" program?

<[email protected]>
Newsgroups gmane.editors.sed.user
Message-ID <[email protected]>
Most programming languages have a "Hello, world!" example. Some might debate if sed is a "real" programming language. But sed at least resembles a programming language in many ways. Anyway, assuming sed is a programming language, what might be sed "Hello, world!" program?

I think the criteria are: **** Prints "Hello, world!". *** Is one of the simplest programs in the language (opposite of an obfuscation contest). *** Can be useful to demonstrate the language.

http://en.wikipedia.org/wiki/List_of_Hello_world_program_examples http://en.wikipedia.org/wiki/List_of_Hello_world_program_examples shows "Hello, world!" programs for various languages...

Perhaps this is a silly post. Or maybe it might interest someone, or make us think more about how sed works. I don't offer any suggestions at this point, am thinking about an answer.

Daniel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.