The UNIX and Linux Forums  

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 here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
using sed to get rid of duplicated columns... fedora Shell Programming and Scripting 4 04-10-2008 01:21 PM
subtotal columns stonemonolith Shell Programming and Scripting 5 02-06-2008 08:52 AM
List to columns and awk help baghera Shell Programming and Scripting 17 08-28-2007 05:20 AM
Row to Columns vskr72 UNIX for Dummies Questions & Answers 4 03-21-2007 05:53 AM
add columns with awk tonet Shell Programming and Scripting 4 06-21-2005 12:02 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-24-2006
Registered User
 

Join Date: Jul 2006
Posts: 36
How can I use columns with a command?

Currently I am using a command that allows me to output variables on one line.



Code:
echo -e "$s\t$z\t$x\t$y"

There is a little format within there by putting spaces after each of the variables I can add spaces to the output.

This helps a little but it woud be very nice to format that outout better.

The importance of having all the output on one line is high.

Is there a way to format this command as columns? If not is there another way I can output these variables on one line using columns.

The problem is lining all the output up.

Chris Collins
Google UNIX.COM
Forum Sponsor
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0