09-01-2009
ryandegreat25,
fantastic, it work.
regards,
fsp
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
The below is the content of the file.
008.03.50.21|ID4|0015a3f01cf3
008.04.20.16|ID3|0015a3f02337
008.04.20.17|ID4_1xVoice|00131180d80e
008.04.20.03|ID3_1xVoice|0015a3694125
008.04.30.05|ID3_1xVoice|0015a3f038af
008.06.30.17|ID3_1xVoice|00159660d454... (2 Replies)
Discussion started by: ravi_rn
2 Replies
2. Shell Programming and Scripting
Hi all,
I need to append 'ls --' command output as a new column in a existing file.
for example,
when i do ls -- i will get the below,
aaa_import.csv
bbb_import.csv
ccc_import.csv
ddd_import.csv
ffff_import.csv
i need to cut the aaa, bbb, ccc, ddd and append this a new column... (5 Replies)
Discussion started by: baskivs
5 Replies
3. UNIX for Dummies Questions & Answers
Hi
In a tab delimited file how can I add a column that have values concatenated from all columns.
For example
input.txt
test1 test2 test3
zz2 mm uu
pp3 yy kk
ss2 tt ll
zz3 mm uu
pp23 yy kk
ss3 tt ll
11e 22 44
33c 22 99
output.txt
test1 test2 test3 reslt (6 Replies)
Discussion started by: mary271
6 Replies
4. Shell Programming and Scripting
Is there any way I can achieve this?
Considering test1 :
a 1 2 3 4
b 2 3 4 5
c 12 1232 14 1
d 10 13 4 5
e 1 5 6 9 1
And test to be some string :
qw
twe
tew
we
qw
I want something like this :
a 1 2 qw 4
b 2 3 twe 5 (5 Replies)
Discussion started by: aksijain
5 Replies
5. Shell Programming and Scripting
Good evening
I have the below requirements, as I am not an experts in Linux/Unix and am looking for your ideas how I can do this.
I have file called file1 and file2.
I need to get the second column which is text1_random_alphabets and find that in file 2, if it's exists then print the 3rd... (4 Replies)
Discussion started by: mychbears
4 Replies
6. Shell Programming and Scripting
input1
john 20
bob 30
input2
john 60
bob 100
cat input1 >> output
cat input2 >> output
ouput
john 20
bob 30
john 60
bob 100
desired output
input1 input1 input2 input2
john 20 john 60 (3 Replies)
Discussion started by: quincyjones
3 Replies
7. Shell Programming and Scripting
Hi,
I have 2 csv files.
a.csv
HUAWEI,20LMG011_DEKET_1296_RTN-980_IDU-1-11-ISV3-1(to LAMONGAN_M),East_Java,20LMG011_DEKET_1296_RTN-980_IDU-1,20LMG011,20LMG
027_1287_LAMONGAN_RTN980_IDU1,20LMG027,1+1(HSB),195.675,20LMG011-20LMG027,99.9995,202.6952012... (7 Replies)
Discussion started by: tententen
7 Replies
8. Shell Programming and Scripting
Hi Experts,
Please bear with me, i need help
I am learning AWk and stuck up in one issue.
First point : I want to sum up column value for column 7, 9, 11,13 and column15 if rows in column 5 are duplicates.No action to be taken for rows where value in column 5 is unique.
Second point : For... (1 Reply)
Discussion started by: as7951
1 Replies
9. Shell Programming and Scripting
Please help me to get required output for both scenario 1 and scenario 2 and need separate code for both scenario 1 and scenario 2
Scenario 1
i need to do below changes only when column1 is CR and column3 has duplicates rows/values. This inputfile can contain 100 of this duplicated rows of... (1 Reply)
Discussion started by: as7951
1 Replies
10. UNIX for Beginners Questions & Answers
hi
I have 2 file with more than 10 columns for both
1st file
apple,0,0,0......
orange,1,2,3.....
mango,2,4,5.....
2nd file
apple,2,3,4,5,6,7...
orange,2,3,4,5,6,8...
watermerlon,2,3,4,5,6,abc...
mango,5,6,7,4,6,def.... (1 Reply)
Discussion started by: tententen
1 Replies
CLOOG(1) User Commands CLOOG(1)
NAME
CLooG - The Chunky Loop Genertor
SYNOPSIS
cloog [ options | file ] ...
DESCRIPTION
Options for code generation:
-l <depth>
Last loop depth to optimize (-1: infinity) (default setting: -1).
-f <depth>
First loop depth to start loop separation (-1: infinity) (default setting: 1).
-stop <depth>
Loop depth to stop code generation (-1: infinity) (default setting: -1).
-strides <boolean>
Handle non-unit strides (1) or not (0) (default setting: 0).
Options for pretty printing:
-otl <boolean>
Simplify loops running one time (1) or not (0) (default setting: 1).
-esp <boolean>
Allow complex equalities spreading (1) or not (0) (default setting: 0).
-csp <boolean>
Allow constant spreading (1) or not (0) (default setting: 1).
-fsp <level>
First level to begin the spreading (default setting: 1).
-block <boolean>
Make a new statement block per iterator in C programs (1) or not (0) (default setting: 0).
-cpp <boolean>
Compilable block by using preprocessor (1) or not (0) (default setting: 0).
-compilable <number>
Compilable code by using preprocessor (not 0) or not (0), number being the value of the parameters (default setting: 0).
General options:
-o <output>
Name of the output file; 'stdout' is a special value: when used, output is standard output (default setting: stdout).
-v, --version
Display the version information (and more).
-h, --help
Display this information.
The special value 'stdin' for 'file' makes CLooG to read data on standard input.
For bug reporting or any suggestions, please send an email to the author <cedric.bastoul@inria.fr>.
----- This is a loop generator for scanning Z-polyhedra. It is based on the work of F. Quillere and C. Bastoul on high level code genera-
tion and of the PolyLib Team on polyhedral computation. This program is distributed under the terms of the GNU General Public License
(details at http://www.gnu.org/copyleft/gpl.html). ----- It would be fair to refer the following paper in any publication resulting from
the use of this software or its library: @InProceedings{Bas04, author = {Cedric Bastoul}, title = {Code Generation in the Polyhe-
dral Model Is Easier Than You Think}, booktitle = {PACT'13 IEEE International Conference on Parallel Architecture
and Compilation Techniques},
pages = {7--16}, month = {september}, year = 2004, address = {Juan-les-Pins} } ----- For any information, please ask the
author at <cedric.bastoul@inria.fr>.
SEE ALSO
The full documentation for CLooG is maintained as a Texinfo manual. If the info and CLooG programs are properly installed at your site,
the command
info CLooG
should give you access to the complete manual.
CLooG 0.15 64 bits The Chunky Loop Generator December 2011 CLOOG(1)