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
combining fields in two text fields shocker Shell Programming and Scripting 3 01-16-2008 08:27 AM
cut: get either one or two fields maxvirrozeito Shell Programming and Scripting 3 12-17-2007 08:58 AM
Cut Last 3 Fields bourne Shell Programming and Scripting 4 01-11-2007 02:17 AM
Last fields Khoomfire UNIX for Advanced & Expert Users 3 04-13-2006 02:03 PM
Awk - more than 99 fields? DaveM UNIX for Dummies Questions & Answers 2 01-23-2001 10:34 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-29-2005
Registered User
 

Join Date: Sep 2005
Posts: 130
how to cut fields

I want to cut two coloums simulatiously and paste in some other file


for ex:


cut d ' ' -f3 -f4 xxx | paste yyy - > zzz;

from the above i want to cut two fileds 3 and 4 and paste as last coloums of single file (zzz).

how to solve this


regards
rajan
Reply With Quote
Forum Sponsor
  #2  
Old 12-29-2005
Registered User
 

Join Date: Dec 2005
Location: London
Posts: 222
cut -d" " -f3,4 xxx | paste yyy - > zzz
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:43 AM.


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

Content Relevant URLs by vBSEO 3.2.0