How to replace many numbers with one number in a file.
Many numbers like 444565,454678,443298,etc. i want to replace these with one number (300).Please halp me out. (2 Replies)
Hello all,
can you help me in this problem, assume We have two txt file (file_1 and file_3) one is file_1 contains the data:
a 0
b 1
c 3
a 7
b 4
c 5
b 8
d 6
.
.
.
.
and I need to count the lines with the matching data (a,b,..) and print in new file called file_2 such as the... (4 Replies)
Dear All,
I have a final output files as
736645|0|
13879|1|
495563|10|
127933|14|
4975|16|
49038|6|
53560|7|
135115|8|
178857|9|
Now I want to replace second column with respective tag as per the value (4 Replies)
I have a csv file with occasional multiple entries in the second column.
111111,104,07-24-2011,3.15,N,
222222,020 140,07-24-2011,10.00,N,I want the result
111111,104,07-24-2011,3.15,N,
222222,020,07-24-2011,10.00,N,
222222,140,07-24-2011,10.00,N,
I know I can get the output of the second... (5 Replies)
I have looked around and there are several examples of how to use sed, but I don't think any of them help me very much with what I am trying to do.
I have a text file like this....
1! SRCNAM = 00001 !
1! X = 50.0000, 0.0000,... (10 Replies)
Hi
I have a text file with rows like this:
7 Herman ASI-40 Jungle (L) Blueprint (L) Weapon Herman ASI-40 Jungle (L) 215.00 57 65.21 114.41
and
9 Herman CAP-505 (L) Blueprint (L) Weapon Herman CAP-505 (L) 220.00 46.84 49.1 104.82
and
2 ClericDagger 1C blueprint Melee - Shortblade... (2 Replies)
Greetings. I have a three column file, and there are some numbers in the second column that are <1. However I need all numbers to be positive, thus need to replace all those numbers with just one. I feel like there must be a simple way to use awk to find these numbers and sed to replace but can't... (5 Replies)
Hello,
I am trying to make a awk code that will take 2 files, a txt file like this :
1 1 88 c(1:38, 42, 102)
2 2 128 c(39:41, 43:101, 103:105, 153, 155:189, 292, 344:369)
3 3 84 c(190:249, 603, 606:607, 609:629)
4 4 12 ... (8 Replies)
Hello All,
This is a noob question. I tried searching for the answer but the answer found did not help me .
I have a file that can have duplicates.
100
200
300
400
100
150
the number 100 is duplicated twice. I want to find the duplicate along with the line number.
expected... (4 Replies)
Discussion started by: vatigers
4 Replies
LEARN ABOUT DEBIAN
tiffset
TIFFSET(1) General Commands Manual TIFFSET(1)NAME
tiffset - set a field in a TIFF header
SYNOPSIS
tiffset [ options ] filename.tif
DESCRIPTION
Tiffset sets the value of a TIFF header to a specified value.
OPTIONS -d dirnumber
change the current directory (starting at 0).
-s tagnumber [ count ] value ...
Set the value of the named tag to the value or values specified.
-sd diroffset
change the current directory by offset.
-sf tagnumber filename
Set the value of the tag to the contents of filename. This option is supported for ASCII tags only.
EXAMPLES
The following example sets the image description tag(270) of a.tif to the contents of the file descrip:
tiffset -sf 270 descrip a.tif
The following example sets the artist tag(315) of a.tif to the string ``Anonymous'':
tiffset -s 315 Anonymous a.tif
This example sets the resolution of the file a.tif to 300 dpi:
tiffset -s 296 2 a.tif
tiffset -s 282 300.0 a.tif
tiffset -s 283 300.0 a.tif
Set the photometric interpretation of the third page of a.tif to min-is-black (ie. inverts it):
tiffset -d 2 -s 262 1 a.tif
SEE ALSO tiffdump(1), tiffinfo(1), tiffcp(1), libtiff(3TIFF)
Libtiff library home page: http://www.remotesensing.org/libtiff/
libtiff November 21, 2004 TIFFSET(1)