The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sort columns by field kamel.seg Shell Programming and Scripting 4 02-20-2008 06:50 AM
how to numeric sort on field time rahulspatil_111 Shell Programming and Scripting 1 04-27-2007 11:52 AM
Sort - only one field appears in output? miwinter UNIX for Dummies Questions & Answers 1 07-24-2006 10:47 AM
field separator as regexp Abhishek Ghose Shell Programming and Scripting 2 02-15-2006 08:49 PM
how to include field separator if there are blank fields? ReV Shell Programming and Scripting 19 07-13-2005 04:50 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #8 (permalink)  
Old 04-26-2005
vgersh99's Avatar
vgersh99 vgersh99 is online now Forum Staff  
Moderator
  
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 5,116
doing 'man ksh' and searching for 'Command Substitution'
Quote:
Originally Posted by man ksh
`command`

The shell will expand the command substitution by executing
command in a subshell environment and replacing the command
substitution (the text of command plus the enclosing $() or
backquotes) with the standard output of the command, remov-
ing sequences of one or more newline characters at the end
of the substitution. Embedded newline characters before the
end of the output will not be removed; however, they may be
treated as field delimiters and eliminated during field
splitting, depending on the value of IFS and quoting that is
in effect.
  #9 (permalink)  
Old 04-26-2005
SSteve's Avatar
SSteve SSteve is offline
Registered User
  
 

Join Date: Apr 2005
Location: Sierra Foothills, California
Posts: 15
My Unix knowledge is not very deep yet. I was completely unaware of command substitution. What a great feature! Thanks very much.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0