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 > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to set echo on siegfried Shell Programming and Scripting 1 11-18-2005 01:56 AM
What does echo ^[[r do? hamsasal UNIX for Advanced & Expert Users 1 07-24-2005 02:14 PM
echo with \n whatisthis UNIX for Dummies Questions & Answers 3 05-18-2005 11:59 AM
echo ????? nguda UNIX for Dummies Questions & Answers 1 06-30-2003 05:02 PM
echo help bb00y High Level Programming 5 10-02-2002 09:53 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-15-2006
tontal tontal is offline
Registered User
  
 

Join Date: Apr 2006
Posts: 13
echo

Dear,

How can i put an awk output in the same line after echo.

e.g.: echo TONTAL, awk '.......}' > toto

the echo value and the output of the awk i need them both on the same line.

Please any one can help me????
Thanks
  #2 (permalink)  
Old 11-15-2006
justsam
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
\c - Print line without new-line. All characters following the \c in the
argument are ignored.


echo "TOTNAL \c"; awk...
  #3 (permalink)  
Old 11-15-2006
anbu23 anbu23 is offline Forum Advisor  
Registered User
  
 

Join Date: Mar 2006
Location: Bangalore,India
Posts: 1,398
Code:
echo "string " `awk ...` > file
or

Code:
printf "asds %s" $(awk ....)  > file
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 04:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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