In the above code i try to replace the value in 1.txt file
But its not working. When i use someother file already created in that path, its working.
but when i created the file at run time as in above code its not working.
when i used the file 1.txt its replacing the string and not reading the input value.
Any solutions ?????
Last edited by Franklin52; 04-20-2012 at 03:13 AM..
Reason: Please use code tags
This may be the 3rd time I'm posting this question. I'm so new here that I'm not even sure how to post!
I'm trying to compare two files but can't do a line by line comparison so comm and diff are out. I've been told that I would need to use the awk programing language. I've looked up what I... (14 Replies)
Hi Guys,
What is the most effecient way to compare the content of 2 seperate files and extract the result of there is a match? We have 2 separate log files and we are trying to find the common errors from the 2 files.
Thanks,
Odogbolu98
:( (3 Replies)
I know the diff does this but it does output more info than just the different text
(e.g.
$ diff file1 file2
29a30
> /home/alex/Pictures/hello.jpg
1694a1696
> /home/alex/Pictures/hi.jpg
)
How can I make it output only
/home/alex/Pictures/hello.jpg
/home/alex/Pictures/hi.jpg
?
thank... (2 Replies)
Hi Team,
Could you please help me on below one ..
etrademail1.txt
etDefaultLogin=pdayanan
mail=poojaaragam.dayanand@exchange.etr.comx
employeeNumber=31567
etDefaultLogin=sudrupa
mail=sudrupa.ayanand@exchange.etr.comx
employeeNumber=318967
etDefaultLogin=gurathi (1 Reply)
Hello everyone,
I work under Ubuntu 11.10 (c-shell)
I need a script to create a new text file whose content is the text of another text files that are in the directory $DIRMAIL at this moment.
I will show you an example:
- On the one hand, there is a directory $DIRMAIL where there are... (1 Reply)
Hello guys,
I have file1 and file2, two text files containing various lines.
I'm trying to find a way to compare file1 and file2:
If the first 7 characters of a line in file2 match the first 7 characters of a line in file1, then do not do anything.
Print out the lines of file1 (in file3,... (3 Replies)
i am working on a shell script and need help in the comparing part of it. for e.g. there two text files like this:
file1.txt
name1
name2
name3
file1 has to be comared with file2
defaultfile.txt
name1
name2
name3
name4
and during comparision with defaultfile.txt
if... (2 Replies)
Hi,
I have two text files, compare column one in both the files and if it matches then the output should contain the id in column one, the number and the description.
Both the files are sorted. Is there a one liner to get this done, kindly help. Thank you
File 1:
NC_000964 92.33 ... (2 Replies)
I have two files in unix environment with similer type of contain:
Example:
File1 File2
Milestone1 Milestone1
Milestone2 Milestone12
Milestone3 Milestone13... (11 Replies)
Discussion started by: Mrinal Mondal
11 Replies
LEARN ABOUT DEBIAN
ihex2txt
EEP24C(1) General Commands Manual EEP24C(1)NAME
ihex2txt - converts Intelhex format to a simple text format
txt2ihex - converts simple text format to Intelhex
SYNOPSIS
ihex2txt inputfile outputfile
txt2ihex inputfile outputfile
DESCRIPTION
The commands ihex2txt and txt2ihex can be used to edit data in Intelhex format. First you get the original Intelhex file and use ihex2txt
to convert it. Then you edit the text file and convert back to Intelhex using txt2ihex
INTELHEX FORMAT
Intel Hexadecimal Object File Format or simply Intelhex specification can be found at
ftp://download.intel.com/support/processors/
i960/devtools/INTELHEX.PDF
Record types 00 and 01 are implemented in this version. In input lines, LF and CR+LF are accepted as newline markers. Output files are
generated with LF as a newline marker.
TEXT FORMAT
The text format is composed by a line with values separated with spaces. The first value is the initial address, the following values are
the values.
Example: 02B7 07 B9 70 7A 6E
means that the content of address 02B7 is 07, the content of address 02B8 is B9, the content of address 02B9 is 70, ...
SEE ALSO eep24c(1).
AUTHOR
This manual page was written by Pedro Zorzenon Neto <pzn@vztech.com.br>.
2002-11-14 EEP24C(1)