Skip to contentSkip to conversation

hello command

DISCUSSION Robert Millan 3 participants 4 messages Feb 1, 2008 – Feb 2, 2008

lore
Share & tools
lore
#0 lore raw

How useful is the hello' command? Is it more useful than echo' ? How about getting rid of it?

Signature · 5 lines
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)
#1 lore raw
Quoted 2 lines · Robert Millan

How useful is the hello' command? Is it more useful than echo' ? How about getting rid of it?

It's a good and simple example of how to write a module. So I think it serves its purpose. `echo' has the purpose of being useful to end users.

--
Marco

#2 lore raw
Quoted 8 lines · Marco Gerards
Quoted 2 lines · Robert Millan

How useful is the hello' command? Is it more useful than echo' ? How about getting rid of it?

It's a good and simple example of how to write a module. So I think it serves its purpose. `echo' has the purpose of being useful to end users.

If it's just an example, why not exclude it from the default builds? It clutters the command list and doesn't serve any purpose to end users.

I'd also suggest moving it to commands/. It isn't that important to have its own directory IMHO ;-)

Signature · 5 lines
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)
#3 lore raw

Quoting Robert Millan <[email protected]>:

Quoted 9 lines
Quoted 3 lines

It's a good and simple example of how to write a module. So I think it serves its purpose. `echo' has the purpose of being useful to end users.

If it's just an example, why not exclude it from the default builds? It clutters the command list and doesn't serve any purpose to end users.

I'd also suggest moving it to commands/. It isn't that important to have its own directory IMHO ;-)

I think echo is a better example that hello. It includes argument handling. It's located in the right directory. It's simple. It's useful. Many other commands are also simple and serve as good examples. I think hello is superfluous.

Signature · 2 lines
Regards,
Pavel Roskin