[Gllug] Comm

Steve Cobrin cobrin at highbury.net
Mon Feb 18 18:09:28 UTC 2002


I don't believe you example explains my problem, I needed the "comm -23" 
command to exclude the lines common to both files, and those lines only in 
file 2

 -- Steve

On Monday 18 February 2002 17:10, Jackson, Harry wrote:
> Hi there
>
> I created two files called 1 and 2. Please see below with what I consider
> to be the explanations.
>
> hjackson:(TSTD03SD at lonsds75)more 1 2
> 1
> 2
> 3
> 4
> 6
> 7
> 8
> 9
> 13
> 14
> ...skipping...
> 1
> 2
> 3
> 4
> 5
> 6
> 7
> 8
> 9
> 10
> 11
>
>
> What is uncommon in file 2 in column 1 but common in
> column 2
> hjackson:(TSTD03SD at lonsds75)comm -1 1 2
>         1
>         2
>         3
>         4
> 5
>         6
>         7
>         8
>         9
> 10
> 11
>
> What is uncommon in file 1 in column 1 but common in
> column 2
> hjackson:(TSTD03SD at lonsds75)comm -2 1 2
>         1
>         2
>         3
>         4
>         6
>         7
>         8
>         9
> 13
> 14
>
>
> What is uncommon in file 1 in column 1 and file 2 in column 2
> hjackson:(TSTD03SD at lonsds75)comm -3 1 2
>         5
>         10
>         11
> 13
> 14
>
> Regards;
> Harry Jackson.
[ridiculous .sig truncated]

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list