Talk:echo (command)

Latest comment: 16 years ago by 131.217.6.6 in topic Name

Name

edit

I assume this program is called echo because it repeats what you say to it? Am I wrong? --16@r 20:17, 8 October 2006 (UTC)Reply

That's what I always assumed. --Gwern (contribs) 20:28, 8 October 2006 (UTC)Reply

I know that echo is a keyword in PHP to display text. Does this keyword also exist in other programming languages ? 16@r 21:47, 8 October 2006 (UTC)Reply

Yes. It is part of the DOS operating system, and is used in Linux command lines also. Not sure where it fits in linux, whether it's part of the shell or separate. In both cases, the input is parsed by the shell then passed to the echo command, which will redirect this new input to output. Handy, as will show the results of any shell pre-processing. Examples of the shell pre-processing: echo ./* in Linux, or echo %path% in DOS. --131.217.6.7 (talk) 07:25, 18 August 2008 (UTC)Reply
Whoops, by this manner of usage as an operating system command, it will constitute some part of several batch scripting languages. --131.217.6.6 (talk) 07:29, 18 August 2008 (UTC)Reply