Sponsored Content
Full Discussion: Reading from Templates
Top Forums Shell Programming and Scripting Reading from Templates Post 302116506 by aigles on Friday 4th of May 2007 03:12:39 PM
Old 05-04-2007
Modify the read statement :

Code:
while read F1 F2 F3 F4 F5 F6 F7
do
   if [[ "$F5" = "a.RSSI" -a "$F6" ="p.RSSI" ]]
   then
      echo $F5 $F6
   fi
done < filename

Jean-Pierre.
 

8 More Discussions You Might Find Interesting

1. Programming

c++ templates problems in g++

what we have: class TClass { public: TClass(); }; template<class T> class FClass<T>: public T { public: FClass(); }; TClass::TClass() { // some code } template<class T> FClass<T>::FClass : T() { // some code } int main (int argc,char* argv) { (3 Replies)
Discussion started by: Marhinado John
3 Replies

2. Programming

site templates?

Are there any web site templates on CGI that allow like this forum software user registration and profiles. I dont need forum software i just need to register and keep profiles of my users on my site. Any suggestions? :confused: Thank you all. (1 Reply)
Discussion started by: solvman
1 Replies

3. Post Here to Contact Site Administrators and Moderators

Templates

Hello, Anybody in here has any idea where I can get a template like this one for vBulletin. I have actually got my board but it just doesn't look good in the template that I have! Thanks anyway! him (2 Replies)
Discussion started by: him
2 Replies

4. HP-UX

Where are SAM user templates stored?

Hey, new here, so be nice! I'm trying to write a little script to automate the user creation process on one of our boxes. But I would like to be able to use the templates that we have set up in SAM. Is the information in these templates stored in a file somewhere, that I can reference in my... (5 Replies)
Discussion started by: paqman
5 Replies

5. Solaris

A compilation problem when using templates

Hello life savers, I'm having trouble compiling a specific program. The program was originally written for gcc and was compiled successfully under it. When trying to compile under Solaris 11, I get this error: "Hashtable.h", line 170: Error: Could not find a match for hash needed in... (2 Replies)
Discussion started by: yp515
2 Replies

6. Programming

Templates and header file

I have some C++ code and want to have the class declarations in a .h file and the implementation in the .cpp file. It seems however that for templates everything need to be put in the header (.h) file and will have problems if I try to separate the code to a .cpp file. Is this correct? Is... (1 Reply)
Discussion started by: kristinu
1 Replies

7. Programming

C++ templates

I have the following template codes but some normal functions too and want to group them together. I usually put the implementation of templates in an .ipp file. What would be a good scheme for the normal functions. Put their implementations in a .cpp file, or leave them in the .ipp file? ... (3 Replies)
Discussion started by: kristinu
3 Replies

8. UNIX and Linux Applications

LibreOffice Templates Custom Distro

Hello, I have a custom Linux distro in which I'm trying to get templates for LibreOffice to ship by default. Is there a location they need to be placed or a file that needs to be edited? I've already tried using the template manager and add templates that way. I then copied /usr/templates/ and... (0 Replies)
Discussion started by: TheOuterLinux
0 Replies
SNAKE4(6)							   Games Manual 							 SNAKE4(6)

NAME
snake4, snake4scores - Game starring a fruit-eating snake. SYNOPSIS
snake4 [-hHV] [-M file] [--help] [--highscores] [--version] [--merge-highscores=file] snake4scores DESCRIPTION
The snake4 program is my fourth implementation of the snake game, written for Unix and X11. Previous versions were written for MS-DOS. Move the snake around the screen and eat food. The snake grows in length as you eat. Avoid hitting the fence, eating lethal mushrooms and rotten food, and biting your own tail. Now and then a slim-pill will bounce around. If you eat this, you will get shorter, and you will gain bonus points for every length you loose. The bonus is also given when a round is over. When food starts blinking, it's about to rot. Rotten food is poisonous, and thus uneatable. As long as it blinks, it can still be eaten. Oh, yes - I almost forgot: You may be visited by the evil headbanger. Take my advice and run away from him before he hits you in the head! He won't stay long. The keys used to control the game are given at startup. snake4 features a site-wide highscore file. The file contains the top 200 users. Each user may appear once only in the highscore table. For technical reasons, snake4 connects to the X11 server before parsing options. This makes it impossible to eg. browse the highscore table using -H if no server is available. To be able to see the scores in such a case, snake4scores produces the same output as snake4 with option -H, but does no attempt on connecting to the X11 server. OPTIONS -h, --help Print a usage message on standard output, and exit successfully. -H, --highscores Dump the highscore list to standard output, and exit successfully. Starting snake4 with the name snake4score does the same thing, without first connecting to the X11 server. Note that this will possibly print more entries than the 20 or so that will fit within the game startup screen. -V, --version Print version information on standard output, then exit successfully. -M, --merge-highscores=file Merge separate highscore file file into the default highscore file, and exit successfully. Displays the new highscore table. This option is for the game owner or root only. X11 OPTIONS In addition to the above mentioned options, snake4 accepts the standard X11 toolkit options. AUTHOR
Sverre H. Huseby <shh@thathost.com>. 11 October 1996 SNAKE4(6)
All times are GMT -4. The time now is 03:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy