[Ilugc] One Day One Command

  • From: sbharathi@xxxxxxxxxxxxx (Bharathi S)
  • Date: Mon Jan 10 15:53:34 2005

On Mon, 10 Jan 2005, Suraj wrote:

Bharathi S wrote: 
,----
| $ echo -n `cat nums` -- Print the file content with-out new line char.
|   1 2 3
`----

Technically, its the shell that interprets the `cat nums` first and
then supplies them to echo as arguments.  It doesn't matter if we
supplied the -n argument here or not.

Thanks for the correction. The '-n' option don't add the new line char
at the end of the output string.

Bye :)
-- 
Bharathi S

Other related posts: