The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
string manipulating psalas UNIX for Dummies Questions & Answers 9 04-15-2008 11:00 AM
Manipulating File rivendell500 SUN Solaris 2 03-25-2008 10:52 PM
Manipulating awk $variables using sed? r0sc0 Shell Programming and Scripting 2 04-04-2006 07:53 PM
Manipulating output file mariner UNIX for Advanced & Expert Users 1 04-20-2005 09:26 AM
date manipulating tamer UNIX for Dummies Questions & Answers 3 01-08-2001 09:46 AM

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 07-20-2005
cubs0729 cubs0729 is offline
Registered User
  
 

Join Date: Jul 2005
Posts: 31
Manipulating Standout Output

I am trying to insert tab's in place of spaces when I tail -f a log and pipe it with grep and cut. Is there a way to take the stdout and format in a way that is tabbed so that all the information is stacked appropriately. I've tried using unexpand. But that did not work. I basically need to know the command to replace or append a tab for a ",<space>".
  #2 (permalink)  
Old 07-20-2005
vgersh99's Avatar
vgersh99 vgersh99 is online now Forum Staff  
Moderator
  
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 5,131
echo 'a b' | tr ' ' '\t'
  #3 (permalink)  
Old 07-21-2005
cubs0729 cubs0729 is offline
Registered User
  
 

Join Date: Jul 2005
Posts: 31
thank you

thank you. that worked perfectly
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 12:05 AM.


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