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



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #15 (permalink)  
Old 08-27-2009
Registered User
 

Join Date: Aug 2009
Posts: 7
Guys,

relax..... i can pretty well use printf ...... i tried with printf and found solution .

echo "$(print - $var_NO_OF_ROWS | sed 's/.*/& /')"|cut -c 1-80 >> sample.txt


Thanks a lot guys for ur help .....
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 Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Difference between using "echo" builtin and /bin/echo ulidtko Shell Programming and Scripting 2 07-15-2009 12:12 PM
Using echo in AWK jermaine4ever Shell Programming and Scripting 10 03-12-2009 01:24 PM
echo tontal Shell Programming and Scripting 2 11-15-2006 12:20 PM
FTP--How to use echo?? rahul26 UNIX for Advanced & Expert Users 1 06-14-2006 10:47 AM
How to set echo on siegfried Shell Programming and Scripting 1 11-18-2005 01:56 AM



All times are GMT -4. The time now is 08:55 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-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0