Hi,
Can anyone please help me: i'm trying to read a file with directory-names , then go to that directory and read another (output) file to perform some tasks per line (second read line in the part of script below).
The problem is that after the nested while loop has finished, the first while... (7 Replies)
HELLO all :),
I have been trying to use a simple while loop to read a file " templist", line by line and perform an action. See the code below. The reason for not using a while read line loop is the for the use of the if condition that wouldn't work. I would appreciate some ideas as this has... (2 Replies)
Hi All,
How can we use read line using the index value of a FOR loop?
eg:
pt_mstr,pt_status,8
pt_mstr,pt_buyer,8
pt_mstr,pt_sfty_stk,8
pt_mstr,pt_ord_pol,3
pt_mstr,pt_capacity,8
pt_mstr,pt_plan_ord,3
pt_mstr,pt_ord_mult,8
From this file i want to read the line2, 3 and 4 only using a FOR... (3 Replies)
Hi I'm writing a bash script which will read an input file and look for occurrences of the current user ($USER) executing the script. When i find the occurrence of the username I take that line and append it to a file with a line number and bracket display next to line.
The input file has been... (12 Replies)
Hi
I am using while loop, below, to read lines from a very large file, around 400,000 rows. The script works fine until around line 300k but then starts giving incorrect result.
I have tried running the script with a smaller data set and it works fine. I made sure to include the line where... (2 Replies)
I have written a script to read the file line by line.
It is reading and printing the lines.
But it is coming out of loop before reading last line.
So I am not able to print last line.
How do I solve it. (6 Replies)
Hi
As a newbe in scripting, i struggle hard with my first script.
What i want to do is, bringing data of two files together.
file1:
....
05/14/12-04:00:00 41253 4259 5135 5604 5812 5372
05/14/12-04:10:00 53408 5501 6592 7402 7354 6639
05/14/12-04:20:00 58748 6037 7292 8223... (13 Replies)
I'm looking for some help in figuring why my little bit of code will not process any entries other then the first one in my list.
while read line ;do
hostname=${line//\"}
a=`ssh user@$hostname uptime;echo $?`
if ];then
dt=`date`
touch... (6 Replies)
Based on text file:
PATH:/media/hdd/Media/Video/title1 FILE:/media/cache/281662-14.jpg
PATH:/media/hdd/Media/Video/title2 FILE:/media/cache/281662-15.jpg
PATH:/media/hdd/Media/Video/title3 FILE:/media/cache/281662-16.jpg
PATH:/media/hdd/Media/Video/title4 FILE:/media/cache/281662-17.jpg... (12 Replies)
while read -a line; this is not working in ksh. what is the equivalent of this in ksh.
read: -a: unknown option (2 Replies)
Discussion started by: archana25
2 Replies
LEARN ABOUT DEBIAN
cloog-isl
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).
-first-unroll <depth> First loop dimension to unroll (-1: no unrolling)
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).
-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).
-compilable <number>
Compilable code by using preprocessor (not 0) or not (0), number being the value of the parameters (default setting: 0).
-callable <boolean>
Testable code by using preprocessor (not 0) or not (0) (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).
-q, --quiet
Don't print any informational messages.
-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 Lesser General Public
License (details at http://www.gnu.org/licenses/lgpl-2.1.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 Polyhedral 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.17.0 gmp bits The Chunky Loop Generator July 2012 CLOOG(1)