The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
join (pls help on join command) summer_cherry Shell Programming and Scripting 1 12-31-2007 02:19 AM
How to change field seperator onthetopo Shell Programming and Scripting 2 05-11-2007 09:11 AM
Comma seperator premar Shell Programming and Scripting 6 02-17-2006 01:16 AM
how i can use a WORD for seperator qrshat SUN Solaris 3 02-10-2006 04:08 AM
Awk Field Seperator Help insania Shell Programming and Scripting 3 11-11-2005 01:29 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 03-28-2006
Registered User
 

Join Date: Mar 2006
Posts: 3
Using | as a seperator in join

I need to use | as a seperator in unix join command. i tried changing seperator using -t option but iit is not working. can u please help.
Reply With Quote
Forum Sponsor
  #2  
Old 03-28-2006
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Try -t"|"

And next time post what you have tried and examples of the files.
Reply With Quote
  #3  
Old 03-28-2006
Registered User
 

Join Date: Mar 2006
Posts: 3
I already used the same thing
join -t"|" fld1 fld2 file1 file2

sorry filename is long..is that right...
cant v escape "|"
Reply With Quote
  #4  
Old 03-28-2006
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Post the OS and version you are using. Post an example of the files content.

Quote:
I already used the same thing
join -t"|" fld1 fld2 file1 file2
syntax is correct? If I try this on Solaris, it gives an error.

Quote:
sorry filename is long..is that right...
If this is suppose to be the error you are getting, it's not very clear (most OS's don't put "is that right". Post the actual error you are getting - don't add to it.
If it's complaining that the file name is too long, you could try to rename your file. Post the file name if this is the issue.
Reply With Quote
  #5  
Old 03-28-2006
Registered User
 

Join Date: Mar 2006
Posts: 3
hey that one i said..it is not OS error...
I said i gave it as general file name coz file name is too long...
It is not showing any error msg..but files are not getting joined thats the problem.
Reply With Quote
  #6  
Old 03-28-2006
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Again, post the OS and version you are using. Post an example of the files content.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:52 PM.


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