Guys,
I have a line like this: 109;201;1099010
and as you see that first field 109 and the last field starts with 109. I need to cut the rest in the last field after 109 which is 9010
How to do it? (2 Replies)
Hello,
In a shell script I am writing I execute this command:
uniq -c names1.tmp > names2.tmp
In names2.tmp I get these results:
4 user
2 username
1 users
1 veriano
1 victoria
I need to isolate the names in this file and put it in another file. However it seems that the number... (7 Replies)
Hello,
I had posted earlier about printing fields using AWK, but now I have a slightly different problem. I have text files in the format:
1*2,3,4,5
and wish to print the first, third, and fifth fields, including the asterisk and commas. In other words, after filtering it should look... (1 Reply)
Hi Everyone,
I have one a.txt:
a b 001 c
b b 002 c
c c, not 002 c
The output should be
001
002
002
If i use cut -f 3 -d' ', this does not work on the 3rd line, so i thought is any way to cut the field counting from the end? or any perl thing can do this?:confused:
... (3 Replies)
hi all
i am need to cut the name of the file which i am entering in the comand line. say abc.txt is the name of the file i need to cut only the "abc" part. when i try doing this(using cut -f1) i am getting the data that s present inside the file and the file name. pls help.... (3 Replies)
Hello,
I have got a log file and would need to write a script to cut the every first and second fields of every third line.
Job Name : dummytextd_v1
Status : KILLED
TIMEDOUT 2011-05-01 05:33
Job Name : dummyttx_v1
Status : KILLED
TIMEDOUT 2011-05-03 02:33
Job Name :... (4 Replies)
Hello,
I would like to cut the first field and the 2 last fields from the string.Please help.
Here is the example of the string.DL_FUND_FULL_20190605.txt
DL_FUND_HIS_DEL_20190605.txt
DL_FUND_HIS_TMP_DEL20190605.txt
Please noted that
DL_ --> Every files have the prefix like this.... (3 Replies)
Discussion started by: palita2601
3 Replies
LEARN ABOUT DEBIAN
tca_correct
TCA_CORRECT(1) HUGIN TCA_CORRECT(1)NAME
tca_correct - Calculate transverse chromatic aberration
SYNOPSIS
tca_correct [options] inputfile
<inputfile> is the base name of 4 image files:
<inputfile>
Colour file to compute TCA parameters
red_<inputfile>
Red channel of <inputfile>
green_<inputfile>
Green channel of <inputfile>
blue_<inputfile>
Blue channel of <inputfile>
The channel images must be colour images with 3 identical channels. If any of -R, -G, or -B is given, this file name is used instead of
the derived name.
Output: commandline arguments for fulla
DESCRIPTION
Generates fulla command-line parameters for correction of transverse chromatic aberration (TCA) from sample photos. Ideal sample photos
would have a lot of contrast over the entire image area, little saturated colour and no blown highlights.
OPTIONS -h Display help
-l input file is PTO file instead of image
-m method
optimization method (0 normal, 1 newfit)
-o optvars
string of variables to optimize ("abcvde")
-r Reset values (this will zero a,b,c,d,e params and set v to 10) makes sense only with -l option
-s <scale>
Scale for corner detection
-n <number>
number of points per grid cell (default: 10)
-g <number>
divide image in <number>x<number> grid cells (default: 10)
-t num
Remove all control points with an error higher than num pixels (default: 1.5)
-v Verbose
-w filename
write PTO file
-R <r>
Use this file as red channel
-G <g>
Use this file as green channel
-B <b>
Use this file as blue channel
AUTHORS
Written by Pablo d'Angelo and others.
"Version: 2011.4.0" 2011-12-02 TCA_CORRECT(1)