I am trying to use a here document to automate testing a perl script however when the perl script hits a system(perl subscript.pl) call, input is no longer entered into this subscript.
here is my script
$ cat test.sh
#ksh
for testcase
do
program <<-EOF | tee -a funcscnlog.log
y... (3 Replies)
Hi All,
I need to write a UNIX script that automates the sftp process. I should be able to do a sftp to a secure box and get a file from there. I am having a problem doing this because no matter what I do, when I run my script, I get a prompt at command line asking for a password. How could I... (34 Replies)
Hi All,
./procdure.ksh which opens the below the menu, I want to build a script which will press 4 and run the Sector Data Automatically (instead of pressing option 4 manually)
Is there any way for this, please let me know...
1) FX Rates MDU 9) Fidessa Cash... (7 Replies)
hi friends,
I am trying to automate the daily monitoring process of UNIX server and it's processes. the script are below
i executed the above script using ksh -x monitortest1.sh in root login . It shows error at some lines .
1. i logged in using root ,but it... (8 Replies)
Hi,
Could you please help to solve the below issue...
my requirement is automate the SFTP between UNIX and Windows server.
I want to get and put some files to UNIX AIX machine(SFTP client) to Windows server(SFTP server).
For that, i have generated key pair (private/public) in my AIX machine .... (6 Replies)
Hi,
New member here looking for help. This might not be a post for the 'VERY basics' section, so feel free to move it to somewhere more appropriate.
I've created a script that searches my computer for video files, creates a list of these files, and selects a number of random entries to play in... (2 Replies)
Hi All,
Can I automate a script when some one trying to 'vi' (open) a file.
For Example, I am having a file named 'SecuredShell.sh'.
when a user types " vi SecuredShell.sh " in unix command prompt a script named secure.sh needs to be automated.
Can this be possible. if Yes please guide... (2 Replies)
Hi all,
I have a task on my plate which is of high priority.
I need an automated email alert that checks FTP notices subdirectory on a daily basis and forwards any word files to a group of people. This word files gets created whenever there is an issue with FTP connectivity.
Please help...... (1 Reply)
Hi all,
I need to execute a script on a remote machine that are connected to the network.The basic requirement is to write a script which will login in remote machine and then execute the other script automatically placed in remote machine.So that I need to execute the remote machine script... (3 Replies)
Dear all,
I I want to login to my Linux machine using putty and then run some script from Windows machine.we can do it after loging it and then execute the script by typing it in putty command line screen. but I want to automate it.So whenever I will fire this script,it will do the following... (4 Replies)
Discussion started by: smartgupta
4 Replies
LEARN ABOUT DEBIAN
liquidsoap
LIQUIDSOAP(1) General Commands Manual LIQUIDSOAP(1)NAME
liquidsoap - a multimedia streaming language
SYNOPSIS
liquidsoap [options] [script|expression]
DESCRIPTION
Liquidsoap is a programming language for describing multimedia streaming systems. It is very flexible, making simple things simple but
giving a lot of control for advanced uses. Liquidsoap supports audio, video and MIDI streams, and a wide range of input/output operators
including Icecast and various soundcard APIs. It can perform a broad range of signal processing, combine streams in various ways, support
custom transitions, generate sound procedurally... and all this can be assembled as you wish. Input files can be accessed remotely, or
even be synthesized on the fly using external scripts such as speech synthesis. Finally, interaction with a running liquidsoap instance is
possible via telnet or socket.
Liquidsoap scripts passed on the command line will be evaluated: they shall be used to define the streaming system to be ran. It is possi-
ble to pass multiple scripts; they will all be ran successively, and definitions from one script can be used in subsequent ones. A script
will be read from standard input if - is given as script filename. Information about scripting liquidsoap is available on our website:
http://savonet.sf.net/
If the parameter is not a file it will be treated as an expression which will be executed. It is a convenient way to test simple one-line
scripts. When running only one-liners, the default is to log messages directly on stdout rather than to a file.
OPTIONS -
Read script from standard input.
-- Stop parsing the command-line and pass subsequent items to the script.
--debug
Print debugging log messages.
--dynamic-plugins-dir path
Directory where to look for plugins.
--errors-as-warnings
Issue warnings instead of fatal errors for unused variables and ignored expressions. If you are not sure about it, it is better to
not use it.
--interactive
Start an interactive interpreter.
--list-plugins
List all plugins (builtin scripting values, supported formats and protocols).
--list-plugins-xml
List all plugins (builtin scripting values, supported formats and protocols), output as XML.
--no-pervasives
Do not load pervasive script libraries.
--version
Display liquidsoap's version.
-c, --check
Check and evaluate scripts but do not perform any streaming.
-cl, --check-lib
Like --check but treats all scripts and expressions as libraries, so that unused toplevel variables are not reported.
-d, --daemon
Run in daemon mode.
-f, --force-start
For advanced dynamic uses: force liquidsoap to start even when no active source is initially defined.
-h plugin
Print the description of a plugin, eg. a builtin scripting function.
-i Display infered types.
-p, --parse-only
Parse scripts but do not type-check and run them.
-q, --quiet
Do not print log messages on standard output.
-r filename
Process a request.
-T, --disable-telnet
Disable the telnet server.
-U, --disable-unix-socket
Disable the unix socket.
-t, --enable-telnet
Enable the telnet server.
-u, --enable-unix-socket
Enable the unix socket.
-v, --verbose
Print log messages on standard output.
--conf-descr-key key
Describe a configuration key.
--conf-descr
Show all configuration keys with their documentation.
--conf-descr-liqi
Show all configuration keys with their documentation in liqi (documentation wiki) format.
--conf-dump
Dump the configuration state
-help, --help
Display this list of options
SEE ALSO
Our website http://savonet.sf.net/ and the HTML documentation coming with your distribution of liquidsoap.
AUTHOR
Savonet team <savonet-users@lists.sourceforge.net>
Liquidsoap 1.0.1 June 25, 2012 LIQUIDSOAP(1)