|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to use the join command to obtain tab delimited text files as an output?
How do you use the join command and obtain tab delimited text files as an output? Thanks!
|
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Code:
$ man join
JOIN(1) User Commands JOIN(1)
NAME
join - join lines of two files on a common field
SYNOPSIS
join [OPTION]... FILE1 FILE2
DESCRIPTION
For each pair of input lines with identical join fields, write a line
to standard output. The default join field is the first, delimited by
whitespace. When FILE1 or FILE2 (not both) is -, read standard input.
-a FILENUM
print unpairable lines coming from file FILENUM, where FILENUM
is 1 or 2, corresponding to FILE1 or FILE2
-e EMPTY
replace missing input fields with EMPTY
-i, --ignore-case
ignore differences in case when comparing fields
-j FIELD
equivalent to `-1 FIELD -2 FIELD'
-o FORMAT
obey FORMAT while constructing output line
-t CHAR
use CHAR as input and output field separator
... |
| The Following User Says Thank You to Corona688 For This Useful Post: | ||
evelibertine (06-20-2012) | ||
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Hi,
Could you provide an example of input and expected output? Regards Dave |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to join two files using "Join" command with one common field in this problem? | mindfreak | UNIX for Dummies Questions & Answers | 2 | 04-13-2012 05:55 AM |
| join files cisco command output | robonet | Shell Programming and Scripting | 1 | 11-10-2010 11:38 AM |
| Remote command output to file comma delimited | markdjones82 | Shell Programming and Scripting | 0 | 06-10-2010 09:57 AM |
| To split a string to obtain the words delimited by whitespaces | Sudhakar333 | Shell Programming and Scripting | 4 | 08-06-2007 02:26 PM |
| using join command for files | subra | Filesystems, Disks and Memory | 12 | 08-14-2002 04:09 AM |
|
|