without pressing the enter key ..manually...
how can we read the enter key ..from the shell script..so that the script termintes automatically.
eg:
telnet a.b.c.d xxxx
now " how to read the enter key" tho terminate the script (1 Reply)
Hi all,
i would like to know how to introduce a delay in the execution of a cmd?
am trying to copy a file which is about 650 mb and then perform some actions on it..
however since its huge i would like to introduce a delay in exection until the process is over
i dont want it to proceed to... (10 Replies)
i have script like:
echo "enter name"
read a
I do not want to press enter key
i have tried with ascill of enter as (\013) but still it wait for enter ,
please resolve my problem (2 Replies)
Hello,
My goal is to run the same Shell script in a parallel mode. This script will get triggered from different machines and different application teams by some job scheduling tool.
They may trigger the process at the same time. so I want to have them in QUEUE ..and release them for execution on... (3 Replies)
Hi,
I recently would like to write a shell script that
1. Runs in the background (can be done with "&", but i'd be happy for other solutions to keep programs running)
2. Does its stuff
3 THEN checks a specified folder for a size change over time (say, each 5 seconds. AND ONLY continues with... (9 Replies)
I need to put a small delay into a shell script. I'm looking for something smaller than "sleep" - a second is way too long. I want to sleep something like 10 milliseconds. I've tried "usleep" and "nanosleep", but the script doesn't recognize them.
I'm using the bash shell but I'm willing to... (9 Replies)
" Script for display sentences with special character"
Hi,
Could any one share a command how to display a line until my target word.
For ex: My file has the content as:
select * from db_wrk where col1 < col2
insert into table_name values('1','2','tst','wrk','dev','prod')
My target... (10 Replies)
Hi All,
I have a XML file which is looks like as below. <<please see the attachment >>
<?xml version="1.0" encoding="UTF-8"?>
<esites>
<esite>
<name>XXX.com</name>
<storeId>10001</storeId>
<module>
... (4 Replies)
Hi Friends,
I am unable to pass Enter key stroke to shell script. Tried all options, but no luck.
Please help..
Script: bkpscript.sh
tam01# ./bkpscript.sh < file.txt
Mount volume 1 on /dev/rmt0.
Press Enter to continue.
tam01#
tam01#
tam01#
tam01# echo ""... (5 Replies)
Discussion started by: suresh3566
5 Replies
LEARN ABOUT DEBIAN
net::sieve::script::action
Net::Sieve::Script::Action(3pm) User Contributed Perl Documentation Net::Sieve::Script::Action(3pm)NAME
Net::Sieve::Script::Action - parse and write actions in sieve scripts
SYNOPSIS
use Net::Sieve::Script::Action;
$action = Net::Sieve::Script::Action->new('redirect "bart@example.edu"');
or
$action = Net::Sieve::Script::Action->new();
$action->command('redirect');
$action->param('"bart@example.edu"');
DESCRIPTION
Action object for Net::Sieve::Script, with command and optional param.
Support RFC 5228, RFC 5230 (vacation), regex draft
METHODS
CONSTRUCTOR new
Argument : "command param" string,
parse valid commands from RFCs, param are not validate.
command
read command : "$action->command()"
set command : "$action->command('stop')"
param
read param : "$action->param()"
set param : "$action->param(' :days 3 "I am away this week."')"
equals
return 1 if actions are equals
AUTHOR
Yves Agostini - Univ Metz - <agostini@univ-metz.fr>
<http://www.crium.univ-metz.fr>
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.10.0 2008-09-15 Net::Sieve::Script::Action(3pm)