11-09-2011
No its not, i have done subsequent scripting, except for this part..of reading 10 lines
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
In my script i am writing to a counter file the no of processes i had started,
that is each time i start a process, i will increment the content of counter file and also when the process ends i will decrement the content of the file.
after this i do some other activities, by now i want to... (1 Reply)
Discussion started by: senthilk615
1 Replies
2. Shell Programming and Scripting
:cool:
I need to execute a shell script to do the following:
cat a file
run two back ground processes using the first two values from the file
wait till those background processes finish
run two more background processes using the next two values from the file
wait till those background... (1 Reply)
Discussion started by: halo98
1 Replies
3. Post Here to Contact Site Administrators and Moderators
Hi ,
I want to read a file starting with "*" up to till it encounters a blank line and to redirect this output to a different file.Plz suggest how to write a script for this.
e.g:-
* PK Sent Email (11.23)
CALYPSO 1243215 9116457 NEW TRAD FAILED Nov 23 2007 9:34AM OASYS: DPS:... (0 Replies)
Discussion started by: adityam
0 Replies
4. Shell Programming and Scripting
Hi ,
I want to read a file starting with "*" up to till it encounters a blank line and to redirect this output to a different file.Plz suggest how to write a script for this.
e.g:-
* PK Sent Email (11.23)
CALYPSO 1243215 9116457 NEW TRAD FAILED Nov 23 2007 9:34AM OASYS: DPS: SINGCORP invalid... (1 Reply)
Discussion started by: adityam
1 Replies
5. UNIX for Dummies Questions & Answers
Hi ,
I want to read a file starting with "*" up to till it encounters a blank line and to redirect this output to a different file.Plz suggest how to write a script for this.
e.g:-
* PK Sent Email (11.23)
CALYPSO 1243215 9116457 NEW TRAD FAILED Nov 23 2007 9:34AM OASYS: DPS: SINGCORP invalid... (1 Reply)
Discussion started by: adityam
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have reached at a specified offset from the start of file. My requirement is that I want to read only those lines, which have the string READ / ALTER / UPDATE. As soon as, none of these literals are found in the subsequent line, I want to stop reading. Is there any feature of grep which... (1 Reply)
Discussion started by: saurabhsinha23
1 Replies
7. Shell Programming and Scripting
Hi all
i have a file like
2006,1,2
2007,2,3
2008,3,4
I will read this and my output should be like
2006,1,2
2007,1,2
2008,1,2
2007,2,3
2008,2,3
2008,3,4
Giving the explanation, we will read the first line of the file and if the year any other than current year, we will print as many... (1 Reply)
Discussion started by: vasuarjula
1 Replies
8. Shell Programming and Scripting
Hi ,
I have a CSV file ( file.csv) with some data as
below:
A,1,abc,x,y,z,,xyz,20100101,99991231
A,1,abc,x,y,z,234,xyz,20100101,99991231
I have to delete the duplicate line based on
unique identifiers which are values in the
fields- 2,3,4,8.These coulmns in both the rows
have same... (6 Replies)
Discussion started by: Sheel
6 Replies
9. Shell Programming and Scripting
I need help with extract/print lines till stop pattern. This needs to happen after every 3rd occurrence of start pattern and continue till end of file. Consider below is an example of the log file. my start pattern will be every 3rd occurrence of ERROR_FILE_NOT_FOUND and stop pattern will be... (5 Replies)
Discussion started by: NSS
5 Replies
10. Shell Programming and Scripting
Hi All,
I have one query, I managed to run script with user inputs through command line or with 1 file.
But I need to read a txt file/xml file in which user can mention multiple sets of answers and script should run for each set till it reach the EOF.
Thanks in advance
for example, the file... (3 Replies)
Discussion started by: rv_champ
3 Replies
GLE(1) User Manuals GLE(1)
NAME
gle - Graphics Layout Engine
SYNOPSIS
gle [options] file.gle ...
DESCRIPTION
GLE (Graphics Layout Engine) is a graphics scripting language designed for creating publication quality graphs, plots, diagrams, figures
and slides. GLE supports various graph types (function plots, histograms, bar graphs, scatter plots, contour lines, color maps, surface
plots, ...) through a simple but flexible set of graphing commands. More complex output can be created by relying on GLE's scripting lan-
guage, which is full featured with subroutines, variables, and logic control. GLE relies on LaTeX for text output and supports mathematical
formulea in graphs and figures. GLE's output formats include EPS, PS, PDF, JPEG, and PNG.
DOCUMENTATION
GLE's documentation is distrubuted in PDF format and can be found at the GLE website:
<http://www.gle-graphics.org>
OPTIONS
-help Shows help about command line options.
-info Outputs software version, build date, GLE_TOP, GLE_BIN, etc..
-verbosity
Sets the verbosity level of GLE console output.
-device
Selects output device(s).
-cairo Use cairo output device.
-resolution
Sets the resolution for bitmap and PDF output.
-fullpage
Selects full page output.
-landscape
Selects full page landscape output.
-output
Specifies the name of the output file.
-nosave
Don't write output file to disk (dry-run).
-preview
Previews the output with QGLE.
-gs Previews the output with GhostScript.
-version
Selects a GLE version to run.
-compatibility
Selects a GLE compatibility mode.
-calc Runs GLE in "calculator" mode.
-catcsv
Pretty print a CSV file to standard output.
-tex Indicates that the script includes LaTeX expressions.
-inc Creates an .inc file with LaTeX code.
-texincprefix
Adds the given subdirectory to the path in the .inc file.
-mkinittex
Creates "inittex.ini" from "init.tex".
-nocolor
Forces grayscale output.
-transparent
Creates transparent output (with -d png).
-noctrl-d
Excludes CTRL-D from the PostScript output.
-nomaxpath
Disables the upper-bound on the drawing path complexity.
-noligatures
Disable the use of ligatures for 'fl' and 'fi'.
-gsoptions
Specify additional options for GhostScript.
-safemode
Disables reading/writing to the file system.
-allowread
Allows reading from the given path.
-allowwrite
Allows writing to the given path.
-keep Don't delete temporary files.
FILES
/usr/share/gle-graphics/4.2.4c/glerc
The system wide configuration file.
~/.glerc
Per user configuration file.
ENVIRONMENT
GLE_USRLIB
The search path for include files.
GLE_TOP
The location of the fonts and other resources.
4.2.4c JULY 2007 GLE(1)