Operating System - HP-UX
1752378 Members
6939 Online
108788 Solutions
New Discussion юеВ

Re: Bad character > (octal 76)

 
rajeshmsr
Advisor

Re: Bad character > (octal 76)

Thanks Dennis.

Could you please let me know the advantages of using $ over ``.
Dennis Handly
Acclaimed Contributor

Re: Bad character > (octal 76)

>Could you please let me know the advantages of using $ over ``.

ksh(1) & sh-posix(1) say: In the second (archaic) form

Using $() allows you to nest commands.
James R. Ferguson
Acclaimed Contributor

Re: Bad character > (octal 76)

Hi (again):

> >Could you please let me know the advantages of using $ over ``.

And the Posix $(...) form is vastly more readable than the archaic back-tick syntax. Single quotes ("'") and back-ticks ("`") can blur a bit if you are quickly, visually scanning.

Regards!

...JRF...