How to find union of two files


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to find union of two files
# 8  
Old 12-07-2005
Thanks pixelbeat!
That's what I was looking for. The "-u" option for uniq.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find command to find a word from list of files

I need to find a word '% Retail by State' in the folder /usr/sas/reports/RetailSalesTaxallocation. When I tried like below, -bash-4.1$ cd /usr/sas/reports/RetailSalesTaxallocation -bash-4.1$ find ./ -name % Retail by State find: paths must precede expression: Retail Usage: find ... (10 Replies)
Discussion started by: Ram Kumar_BE
10 Replies

2. Programming

Event driven programming / epoll / typedef union / session data array

Sorry for the “word salad” subject, but I wanted to cast a wide net for help. I've created an IP (Internet Protocol) server which serves HTTP, SMTP, and FTP requests. As you probably know, they all require creating a socket, listening on it, accepting connections, and then having a short... (3 Replies)
Discussion started by: John S.
3 Replies

3. Programming

GDB and GCC union

My concept may sound a bit cryptic but I what some startup information as to how we can use GDB APIs / debugging techniques in programs with GCC when we compile the program. We can definitely tell gcc to link GDB libs also. The ultimate aid would be that when the compiled programs executes it... (4 Replies)
Discussion started by: uunniixx
4 Replies

4. Web Development

Intersection and union of array by hash

Hi, A piece of script from Perl-cookbook I do not understand, and post here for explanation. The purpose is to find the element in either array (union), and in both array (intersection). Thank you in advance. @a=qw(1 3 5 6 7 8); @b=qw(2 3 5 7 9); foreach $e (@a, @b) {$union{$e}++ &&... (3 Replies)
Discussion started by: yifangt
3 Replies

5. Shell Programming and Scripting

awk: union regions

Hi all, I have difficulty to solve the followign problem. mydata: StartPoint EndPoint 22 55 2222 2230 33 66 44 58 222 240 11 25 22 60 33 45 The union of above... (2 Replies)
Discussion started by: phoeberunner
2 Replies

6. Shell Programming and Scripting

Text files union

How can i union two files that each of them contain text to one new file in unix shell scripting or in awk scripting language? (2 Replies)
Discussion started by: tal
2 Replies

7. Shell Programming and Scripting

union of two files

Given two files of the same format (For example number1|text1|number2) what is the command to print lines in file1 which do not occur in file2? diff command seems a bit complicated for me for this purpose. Please help!! Thank you very much. (3 Replies)
Discussion started by: sherkaner
3 Replies

8. Shell Programming and Scripting

Little bit weired : Find files in UNIX w/o using find or where command

Yes , I have to find a file in unix without using any find or where commands.Any pointers for the same would be very helpful as i am beginner in shell scritping and need a solution for the same. Thanks in advance. Regards Jatin Jain (10 Replies)
Discussion started by: jatin.jain
10 Replies

9. Shell Programming and Scripting

Find files older than 20 days & not use find

I need to find files that have the ending of .out and that are older than 20 days. However, I cannot use find as I do not want to search in the directories that are underneath the directory that I am searching in. How can this be done?? Find returns files that I do not want. (2 Replies)
Discussion started by: halo98
2 Replies
Login or Register to Ask a Question
hwloc_obj_attr_u::hwloc_bridge_attr_s(3)		     Hardware Locality (hwloc)			  hwloc_obj_attr_u::hwloc_bridge_attr_s(3)

NAME
hwloc_obj_attr_u::hwloc_bridge_attr_s - SYNOPSIS
#include <hwloc.h> Data Fields union { struct hwloc_pcidev_attr_s pci } upstream hwloc_obj_bridge_type_t upstream_type union { struct { unsigned short domain unsigned char secondary_bus unsigned char subordinate_bus } pci } downstream hwloc_obj_bridge_type_t downstream_type unsigned depth Detailed Description Bridge specific Object Attribues. Field Documentation unsigned hwloc_obj_attr_u::hwloc_bridge_attr_s::depth unsigned short hwloc_obj_attr_u::hwloc_bridge_attr_s::domain union { ... } hwloc_obj_attr_u::hwloc_bridge_attr_s::downstream hwloc_obj_bridge_type_t hwloc_obj_attr_u::hwloc_bridge_attr_s::downstream_type struct hwloc_pcidev_attr_s hwloc_obj_attr_u::hwloc_bridge_attr_s::pci struct { ... } hwloc_obj_attr_u::hwloc_bridge_attr_s::pci unsigned char hwloc_obj_attr_u::hwloc_bridge_attr_s::secondary_bus unsigned char hwloc_obj_attr_u::hwloc_bridge_attr_s::subordinate_bus union { ... } hwloc_obj_attr_u::hwloc_bridge_attr_s::upstream hwloc_obj_bridge_type_t hwloc_obj_attr_u::hwloc_bridge_attr_s::upstream_type Author Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. Version 1.4.1 Mon Feb 27 2012 hwloc_obj_attr_u::hwloc_bridge_attr_s(3)