04-30-2016
Any attempt/idea/thought from your side? Did you consider the links at the bottom of this page?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi :),
I am using the script to search "MYPATTERN" in MYFILE and print that block of lines containing the pattern starting with HEADER upto FOOTER.
But my problem is that at some occurrence my footer is different e.g. ";". How to modify the script so that MYPATTERN between HEADER and different... (1 Reply)
Discussion started by: vanand420
1 Replies
2. Shell Programming and Scripting
Hi all,
I'm looking for some help. I have a file (very long) that is organized like below:
>Cluster 0
0 283nt, >01_FRYJ6ZM12HMXZS... at +/99%
1 279nt, >01_FRYJ6ZM12HN12A... at +/99%
2 281nt, >01_FRYJ6ZM12HM4TS... at +/99%
3 283nt, >01_FRYJ6ZM12HM946... at +/99%
4 279nt,... (4 Replies)
Discussion started by: d.chauliac
4 Replies
3. Shell Programming and Scripting
Dear Experts,
I have file called file1 in which i am greping a pattern after that i want to next 3 lines when that pattern is matched.
Ex:- file1
USA
UK
India
Africa
Hello
Asia
Europe
Australia
Hello
Peter
Robert
Jo
i want to next 3 lines after matching Hello... (12 Replies)
Discussion started by: naree
12 Replies
4. Shell Programming and Scripting
Hi Friends,
I am working on a script.. Looking forward for your expert help.....
My requirement is:
I have a text file where, need to search equip * RTF or end of line with RTF ,once this pattern is found then print 2nd line, 6th line, 7th line to a different file.
For Ex:
equip 1... (34 Replies)
Discussion started by: shaliniyadav
34 Replies
5. Shell Programming and Scripting
Hi all,
on Solaris 10, I'd like to print a range of lines starting at pattern but also including the very first line before pattern.
the following doesn't print the range starting at pattern and going down to the end of file: cat <my file> | sed -n -e '/<pattern>{x;p;}/'
I need to include the... (1 Reply)
Discussion started by: siriche
1 Replies
6. Shell Programming and Scripting
I have a file that contains...
Number
--------------------
1
2
3
4
i want to print all the numbers after the hyphen ... (6 Replies)
Discussion started by: ankitknit
6 Replies
7. Shell Programming and Scripting
Hello,
I have two files file 1 and file 2 each having result of a query on certain database tables and need to compare for Col1 in file1 with Col3 in file2, compare Col2 with Col4 and output the value of Col1 from File1 which is a) not present in Col3 of File2 b) value of Col2 is different from... (2 Replies)
Discussion started by: RasB15
2 Replies
8. Shell Programming and Scripting
Hi all,
I want to search for strings in file1 that can be found in file2 and print out the whole line when matching pattern is found.
I have used the below command, but this is not working for me, because it is writing out only the matching patterns from file2, not the whole line.
fgrep -o... (2 Replies)
Discussion started by: MonikaB
2 Replies
9. Shell Programming and Scripting
'Hi
I'm using the following code to extract the lines(and redirect them to a txt file) after the pattern match. But the output is inclusive of the line with pattern match.
Which option is to be used to exclude the line containing the pattern?
sed -n '/Conn.*User/,$p' > consumers.txt (11 Replies)
Discussion started by: essem
11 Replies
10. Shell Programming and Scripting
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)
Discussion started by: Klasform
9 Replies
LEARN ABOUT SUSE
glutsetcursor
glutSetCursor(3GLUT) GLUT glutSetCursor(3GLUT)
NAME
glutSetCursor - changes the cursor image of the current window.
SYNTAX
void glutSetCursor(int cursor);
ARGUMENTS
cursor Name of cursor image to change to. Possible values follow:
GLUT_CURSOR_RIGHT_ARROW
Arrow pointing up and to the right.
GLUT_CURSOR_LEFT_ARROW
Arrow pointing up and to the left.
GLUT_CURSOR_INFO
Pointing hand.
GLUT_CURSOR_DESTROY
Skull & cross bones.
GLUT_CURSOR_HELP
Question mark.
GLUT_CURSOR_CYCLE
Arrows rotating in a circle.
GLUT_CURSOR_SPRAY
Spray can.
GLUT_CURSOR_WAIT
Wrist watch.
GLUT_CURSOR_TEXT
Insertion point cursor for text.
GLUT_CURSOR_CROSSHAIR
Simple cross-hair.
GLUT_CURSOR_UP_DOWN
Bi-directional pointing up & down.
GLUT_CURSOR_LEFT_RIGHT
Bi-directional pointing left & right.
GLUT_CURSOR_TOP_SIDE
Arrow pointing to top side.
GLUT_CURSOR_BOTTOM_SIDE
Arrow pointing to bottom side.
GLUT_CURSOR_LEFT_SIDE
Arrow pointing to left side.
GLUT_CURSOR_RIGHT_SIDE
Arrow pointing to right side.
GLUT_CURSOR_TOP_LEFT_CORNER
Arrow pointing to top-left corner.
GLUT_CURSOR_TOP_RIGHT_CORNER
Arrow pointing to top-right corner.
GLUT_CURSOR_BOTTOM_RIGHT_CORNER
Arrow pointing to bottom-left corner.
GLUT_CURSOR_BOTTOM_LEFT_CORNER
Arrow pointing to bottom-right corner.
GLUT_CURSOR_FULL_CROSSHAIR
Full-screen cross-hair cursor (if possible, otherwise GLUT_CURSOR_CROSSHAIR).
GLUT_CURSOR_NONE
Invisible cursor.
GLUT_CURSOR_INHERIT
Use parent's cursor.
DESCRIPTION
glutSetCursor changes the cursor image of the current window. Each call requests the window system change the cursor appropriately. The
cursor image when a window is created is GLUT_CURSOR_INHERIT. The exact cursor images used are implementation dependent. The intent is for
the image to convey the meaning of the cursor name. For a top-level window, GLUT_CURSOR_INHERIT uses the default window system cursor.
X IMPLEMENTATION NOTES
GLUT for X uses SGI's _SGI_CROSSHAIR_CURSOR convention to access a full-screen cross-hair cursor if possible.
SEE ALSO
glutCreateWindow, glutCreateSubWindow
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutSetCursor(3GLUT)