6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
2. Programming
Dipping around in python again and need to create a def that will populate a list(content) with the files that os.walk finds from within this directory and then I will re.search through each files looking for content. In learning Python, can someone point me in the right direction. This is what I... (3 Replies)
Discussion started by: metallica1973
3 Replies
3. Shell Programming and Scripting
Hi,
I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file.
File1 - file2 = file3
wc -l file1.txt
58112
wc -l file2.txt
55260
head -5 file1.txt
101214200123
101214700300
101250030067
101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies
4. Shell Programming and Scripting
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies
5. Shell Programming and Scripting
I am sure that there is something out there but before I learn Perl I thought I would ask. Here is what I need: I need a script or program to substitute string values in an xml file from a pair definition file
replace_string -d <file containing string pairs> original_file_in new_file_out
The... (3 Replies)
Discussion started by: danields2
3 Replies
6. Shell Programming and Scripting
Hi Pals,
I need some information related .def file in HP-Ux shell scripting. What actaully a .def file contains. It is having all definitions of some functions. But what is the relationship between a .def file and shell script. Can anyone give some examples.
Thanks in Advance.
Best... (1 Reply)
Discussion started by: manu.vmr
1 Replies
LEARN ABOUT CENTOS
eeprom
eeprom(8) System Administration eeprom(8)
NAME
eeprom - reads and writes 24Cxx EEPROMs connected to I2C serial bus.
SYNOPSIS
eeprom [-d dev] [-a adr] [-p pgs] [-w] [-y] [-f file]
DESCRIPTION
eeprom can be used for reading from / writing to i2c-eeproms like the popular 24C16, 24C08, 24C04, etc. In contrast to eeprommer which
supports 24C256-type eeproms (24C16s) this tool works with 1-byte addresses!
NOTE
Don't forget to load your i2c chipset and the i2c-dev drivers.
Pages/addresses:
eeproms with more than 256 bytes appear as if they
were several eeproms with consecutive addresses on the bus
so we might as well address several separate eeproms with
increasing addresses
PARAMETERS
dev device, e.g. /dev/i2c-0 (def)
adr base address of eeprom, eg 0xA0 (def)
pgs number of pages to read, eg 8 (def)
-w write to eeprom (default is reading!)
-y suppress warning when writing (default is to warn!)
-f file
copy eeprom contents to/from file (default for read is test only; for write is all zeros)
SEE ALSO
eeprog(8) eepromer(8)
AUTHOR
Christian Vogel <chris@hedonism.cx>
i2c-tools Jul 2013 eeprom(8)