[H-GEN] Useful not so obvious tips

Russell Stuart russell-humbug at stuart.id.au
Wed Oct 27 21:45:41 EDT 2004


On Thu, 2004-10-28 at 11:10, Raymond Smith wrote:
> I'm curious, what is the advantage of less $(cmd) over 
> less `cmd` ?

It nests.  For example, this works:

  grep some-string $(grep -l other-string $(find . some-condition)))

Also, I find typing mistakes are easier to find when
using $(cmd).  I use it anytime I am not trying to
write something portable - including on the command
line.






More information about the General mailing list