02-16-2004
Quote:
Originally posted by jodders
you prog1 and prog2 what type of files should it be? like should it be a C++ program,or just like text file?
Prog1 and Prog2 are any program (such as c++) or script(which is a text file) you want them to be... as long as Prog1 would normally send output to the screen, my line of code will redirect it into "myfile.dat" and also send it to "Prog2".
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hello guys, I'm in need of some help with a certain script. The link to my assignment is below...any and all advice/pointers/suggestions will be greatly appreciated.
thanx,
Jake Axon
http://www.cs.uic.edu/~i101/mp6.html (2 Replies)
Discussion started by: Axon
2 Replies
2. Shell Programming and Scripting
I need help i heard you can play halo over online and you have a macintosh version where can I get it please respond (1 Reply)
Discussion started by: memattmyself
1 Replies
3. UNIX for Dummies Questions & Answers
I'm just after finding a file resding in my temporary directory(/tmp) on my machine called 'i-spy'
This file is owned by root and ordinary muppets like me cant delete it, open or even do a more or cat on it. I'm running Solaris 2.6 on a Sun Ultra 5.
Can anyone out there give me a good... (1 Reply)
Discussion started by: Kanu77
1 Replies
4. Solaris
First of all, in no way I want to use this to hack / cheat / steal etc ...
I am an admin of a couple of hundred users which are 99,8% > 500miles away from me and to facilitate some administration part I would like to be able to "spy" what they are doing in there sessions, live.
ex:
... (7 Replies)
Discussion started by: plmachiavel
7 Replies
5. Shell Programming and Scripting
Hi All ,
Is there any way to replace the pipe ( | ) with the broken pipe (0xA6) in unix (1 Reply)
Discussion started by: saj
1 Replies
6. Shell Programming and Scripting
Hi guys,
I need to know how i can ignore Pipe '|' if Pipe is coming as a column in Pipe delimited file
for eg:
file 1:
xx|yy|"xyz|zzz"|zzz|12...
using below awk command
awk 'BEGIN {FS=OFS="|" } print $3
i would get xyz
But i want as :
xyz|zzz to consider as whole column... (13 Replies)
Discussion started by: rohit_shinez
13 Replies
LEARN ABOUT DEBIAN
massagevendor
MASSAGEVENDOR(8) System Manager's Manual MASSAGEVENDOR(8)
NAME
massagevendor - convert the ethernet vendor codes master list to arpwatch format
SYNOPSIS
massagevendor vendorfile
DESCRIPTION
massagevendor is a program that converts a text file containing ethernet vendor codes into a format suitable for use by arpwatch(8) and
arpsnmp(8). The input vendorfile is a master text file containing vendor codes. The output is sent to stdout. Each line of the vendorfile
is expected to have a six digit hexadecimal vendor code followed by spaces followed by the name of the manufacturer.
All ethernet devices have a unique identifier which includes a vendor code specifying the manufacturer of the device. In normal operation
arpwatch(8) and arpsnmp(8) use the file ethercodes.dat to report this vendor code. massagevendor is used to generate the ethercodes.dat
file from text files containing these vendor codes.
Locations where an ethernet vendor codes master text file can be obtained are given below.
FILES
/usr/share/arpwatch - default location of the ethernet vendor list
ethercodes.dat - file containing the list of ethernet vendor codes
SEE ALSO
arpwatch(8), arpsnmp(8)
NOTES
Sources for ethernet vendor codes seen in the wild are
http://map-ne.com/Ethernet/vendor.html
ftp://ftp.cavebear.com/pub/Ethernet.txt
http://www.cavebear.com/CaveBear/Ethernet/vendor.html
Useful for comparison or completeness are the
ethernet vendor codes as assigned
by the IEEE which can be found at
http://standards.ieee.org/regauth/oui/oui.txt
BUGS
Please send bug reports to arpwatch@ee.lbl.gov.
AUTHORS
Craig Leres of the Lawrence Berkeley National Laboratory Network Research Group, University of California, Berkeley, CA.
The current version is available via anonymous ftp:
ftp://ftp.ee.lbl.gov/arpwatch.tar.gz
This manual page was contributed by Hugo Graumann.
MASSAGEVENDOR(8)