hello all, I have a script (Solaris v8 ksh) monitoring an inbound directory for reports. The script will then capture the report based on a set of circumstances. However I am unable to capture a report larger then 2-Gig in size due to program limitations. What I need to do is pause the monitor... (6 Replies)
I am writing a small script which allows users to grep multiple log files across multiple directories, and often the output produced by the grep statements is quite lengthy. It would be nice if the output to the screen could be "paused" when it reaches a certain length (say, the length of the... (5 Replies)
HI,
Please help me on this. I have to execute 100 scripts which i have redirected in to a file . I want to pause the script after first execution and once i say enter key word it has to go to next execution. My looks like
for RUNFILES in `cat ${SOURCEFILES}/scripts`
do
echo $RUNFILES;
... (1 Reply)
Help Please perl Gurus,
I am trying to add ungrouped passengers in a group and I creating a script however it fails on first step only I tried all the options it returns following error.
syntax error at junki line 4, near "open "
Execution of junki aborted due to compilation errors. ... (2 Replies)
Dear all,
I find a perl script that contains the following codes. Does anybody know the meaning of codes highlight.
.....
@field = parse_csv($file);
chomp(@field);
........
........
sub parse_csv {
my $text = shift;
my @new = ();
push( @new, $+ ) while $text =~ m{... (9 Replies)
Hi, I'm wondering if it's possible to pause a process I'm running in the background, close my laptop (I need to leave the office), and continue the process (when I get home).
I've been running a process for a really long time and I don't want to have to start it over.
Thanks in advance! (9 Replies)
Heya people,
So my script is one of those make-user-scripts, making a bunch of directories in the home folder and copying some files over into the new directories.
However, part of the thing my script need to do is check the home folder if a username matches with a directory which already exists.... (6 Replies)
Hi All,
I have a cronjob which runs a script every 5 mins.
My problem is before the script is completed the cron job starts again after 5 mins.
How can I put this second cron job to wait unless the first script has completed.
Could you please help me on that (7 Replies)
I am working on converting shell to Perl script. In shell we have built in function
trap
Do you know alternative in Perl or actually we don't need it?
Thanks for contribution (3 Replies)
Discussion started by: digioleg54
3 Replies
LEARN ABOUT DEBIAN
saytime
SAYTIME(1) General Commands Manual SAYTIME(1)NAME
saytime - audio time check
SYNOPSIS
saytime [ -ch ] [ -d dir ] [ -f fmt ] [ -o dev ] [ -t output-type ]
DESCRIPTION
saytime speaks the current time through the computer's sound device.
OPTIONS -v factor
Increase volume level by factor. Directly passed on to sox.
-r sec Repeat at the specified interval in background mode.
-c Output to stdout.
-d dir Use sounds from alternate directory (default /usr/share/saytime).
-f fmt Specify format of time message. (see FORMAT STRING below).
-h Display simple help.
-o dev Output to alternate file. If -t is not specified with -o, -t defaults to ossdsp.
-t output-type
Specify the output type (oss, alsa, etc.); this is passed directly to sox. If neither -t nor -o is specified, saytime will pick a
default destination via sox -d.
FORMAT STRING
A format string can be specified to control the time message. Valid format characters are:
%k hour, 24-hour clock (00..23)
%l hour, 12-hour clock (01..12)
%M minutes
%P Introductory phrase ('The time is')
%S seconds
The default format string is %P%l%M%S.
BUGS
Likely a few. It doesn't handle errors gracefully.
CONTRIBUTORS
Jef Poskanzer (original author),
Patrick J. Edwards <pje120@mail.usask.ca>
Charles Briscoe-Smith <cpbs@debian.org>
David C Dawson <beagle7@pacificcoast.net> (the -v and -r options)
14 Sep 2004 SAYTIME(1)