The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 06-27-2006
LivinFree's Avatar
LivinFree LivinFree is offline Forum Advisor  
Goober Extraordinaire
  
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Modern Bourne shell variants support $(command) notation as well, which allows nesting and, in my opinion, is easier on the eyes.

Some, such as bash, allow you to do fun stuff such as this=$(<file.txt) to grab the contents of file.txt in the variable "this".