Would something like this, base on a case statement work?
I get the following simple sample output:-
You could easily set the variables t1, t2, t3 etc. based on your tail output and set all the others to be dummy or the like to effectively switch off those tests.
Hi falks,
I need to write a function in k-shell which cd to root directory and ask the user which sub directory you want to tar.
The user will select directories untill quit.
How to do it?
Thanks in advance,
Nir (4 Replies)
hi
i hav files ha1j ha2m ha3n ha4q ha5s ...like tat im having some 20 files ..and i want to create a folder as the same amount of files which im having wen the condition if loop is satisfied ..
thank you (5 Replies)
I have a file that reads File (X.txt)
Contents of record 1:
rdrDESTINATION_ADDRESS (String) "91 971502573813"
rdrDESTINATION_IMSI (String) "000000000000000"
rdrORIGINATING_ADDRESS (String) "d0 movies"
rdrORIGINATING_IMSI (String) "000000000000000"
rdrTRAFFIC_EVENT_TIME... (0 Replies)
Problem :
I want to create a separate file for country list if condition is true. Please help.
*****************************************************
Input file:
SV-INCR-139302-365540488-201104090934.sqllog
SV-INCR-1082-552793184-201104040805.sqllog
SV-INCR-1077-855045741-201104040805.sqllog... (4 Replies)
hi,
I have some problems in my simple script about the redirect echo stdout command inside a condition. Why is the echo command inside the elif still execute in the else command
Here are my simple script
After check on the two diff output the echo stdout redirect is present in two diff... (3 Replies)
I am currently running 2 scripts to gather data for a 3rd script and would like to combine the 2 scripts into one. Having issues with the final output format.
Note cannot post URL so replaced the http stuff with (name) in the examples
All scripts contain #!/bin/ksh OS = Red Hat Enterprise... (0 Replies)
Hi All,
I am really struggling to solve this problem, this might be small but I am not able to, can somebody help me?
I have few directories and these directories receives text files in large amount with in fraction of seconds. So I just want to send all the files in current directory to... (2 Replies)
I need to write the list of files to a new file in one column , the second column would contain the first line of that file (header record extracted through head -1 ) and the third column would contain the last record of that file (trailer record tail -1 ) .
Example :- folder where the files... (8 Replies)
Hi All,
I have already code to create folder for one country let say US , now we want to create folder/directory for JP country also using shell script , application server.
$COUNTRY='US'
if ]
then
if mkdir -m 777 -p /opt/TEST/$COUNTRY/$INVOICE >/dev/null 2>&1 | tee -a ... (5 Replies)
Discussion started by: Boost
5 Replies
LEARN ABOUT DEBIAN
boing
boing(6x) XScreenSaver manual boing(6x)NAME
boing - draws a bouncing ball like the ancient Amiga demo
SYNOPSIS
boing [-display host:display.screen] [-window] [-root] [-install] [-visual visual] [-delay usecs] [-smooth] [-lighting] [-scanlines]
[-speed] [-no-spin] [-angle degrees] [-size ratio] [-parallels n] [-meridians n] [-wireframe] [-fps]
DESCRIPTION
The boing program draws a bouncing checkered ball on a grid.
This is a clone of the first graphics demo for the Amiga 1000, which was written by Dale Luck and RJ Mical during a break at the 1984 Con-
sumer Electronics Show (or so the legend goes.) The boing ball was briefly the official logo of Amiga Inc., until they were bought by Com-
modore later that year.
With no arguments, this program looks a lot like the original Amiga demo. With "-smooth -lighting", it looks... less old.
OPTIONS
boing accepts the following options:
-window Draw on a newly-created window. This is the default.
-root Draw on the root window.
-install
Install a private colormap for the window.
-visual visual
Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.
-delay usecs
The delay between frames of the animation, in microseconds: default 15000.
-smooth Draw a smooth sphere instead of a faceted polyhedron.
-lighting
Do shaded lighting instead of flat colors.
-scanlines
If the window is large enough, draw horizontal lines to simulate the scanlines on a low resolution monitor.
-speed ratio
Change the animation speed; 0.5 to go half as fast, 2.0 to go twice as fast.
-no-spin
Don't rotate the ball.
-angle degrees
The jaunty angle at which the ball sits. Default 15 degrees.
-size ratio
How big the ball is; default 0.5 meaning about half the size of the window.
-parallels n
-meridians n The pattern of rectangles on the ball. Default 8x16.
-wireframe
Look crummy.
-fps Display the current frame rate, CPU load, and polygon count.
ENVIRONMENT
DISPLAY to get the default host and display number.
XENVIRONMENT
to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
SEE ALSO bsod(6x), pong(6x), xscreensaver(1), X(1)COPYRIGHT
Copyright (C) 2005 by Jamie Zawinski. Permission to use, copy, modify, distribute, and sell this software and its documentation for any
purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice
and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
AUTHOR
Jamie Zawinski <jwz@jwz.org>, 19-Feb-2005.
X Version 11 5.15 (28-Sep-2011) boing(6x)