taskes one or more .l files and compiles them
#!/usr/bin/csh
#while loop to carry on asking user to enter the files
while $number!=0
echo "enter file name"
#check to see if file ends with .l
#if file ends with .l compile lexx.yy.c file for each file
this is how i think it needs... (1 Reply)
Experts,
I tried to make my cshell script interactive by asking the user for password and trying to read the input using the "read" command. I have been unsuccessful so far. Do you have any idea ?
Thanks
Jim (2 Replies)
Now I am using the HP-UX11.11 version.
The scripts are runninh in KSH shell.
While I wan to call one executable of any Pro*C file, I have got the following error, however the executable is running fine directly.
testpri Started at 10.05.200923:40
/usr/lib/dld.sl: Bad magic number for... (0 Replies)
Hello everyone! i'm new in this forum and I'm here because I have a huge problem with a csh script. Here the problem: I have to write a script that check the system status, more precisely I have to check if there are processes with TIME > 3 hours and if such processes exists I must send a mail... (3 Replies)
Hi I am trying to put the following commands that i have to type manually at the cshell prompt into a cshell script startup.csh which is copied below
echo $DISPLAY
xhost +
rsh ba08lo01
module load incisiv/102/10.20.035
setenv DISPLAY $DISPLAY
When i run the script with source command... (2 Replies)
Hi,
I am trying to run a python script embedded in bash script. But is throwing me an error. Please help.
Script:
#!/bin/bash
nohup /usr/bin/python /opt/web/http.py &
Error:
/usr/bin/python: can't open file '/opt/web/http.py': No such file or directory
Please help me on this. (6 Replies)
Hello,
I want to design a script that will call an existing menu script and select options one by one and redirict the out put to a file.
For example;-
In the script MENU.sh there are 10 options i want to design a script MENU2.sh that will select option 2 3 4 6 7 10 and redirict the output... (4 Replies)
I'm attempting to write a bash script that will create a network between virtual machines. It accepts three arguments: an RSpec that describes the network topology, and two list of machines (servers and clients).
I have a (working) Perl script that I want to call. This Perl script takes an RSpec... (6 Replies)
Hello Guys,
I would like to ask you for a favor. Could you please help me how can I assign any number as the parameter to a, from stdin (-c), in the following command line by using the 'switch' in a script?
awk '$8>a {print "File name:" $5,$8}'
I would also appreciate if you can share any... (1 Reply)
Discussion started by: Padavan
1 Replies
LEARN ABOUT DEBIAN
schleuder-newlist
SCHLEUDER-NEWLIST(8)SCHLEUDER-NEWLIST(8)NAME
schleuder-newlist - create new Schleuder mailing list
SYNOPSIS
schleuder-newlist [-c baseconfig] newlist@example.net
[-realname "Foo List"]
[-adminaddress listadmin@example.net]
[-initmember member1@example.net
-initmemberkey path-to-initmember-publickey]
[-privatekeyfile path-to-privatekey
-publickeyfile path-to-publickey
-passphrase "key passphrase"]
[-mailuser schleuder]
[-nointeractive]
DESCRIPTION
schleuder-newlist automates the creation of new Schleuder mailing lists. For more information on Schleuder, please look at schleuder(8).
schleuder-newlist does various input validation, and can generate a key or import one. It will give you as well an easy interface to build
new lists in a scripted manner.
It also supports an interactive mode, with which the user will be prompted for missing mandatory options. The interactive mode can be dis-
abled, using the -nointercative flag; it is automatically disabled if the script isn't run within a valid tty.
If no -privatekeyfile, -publickeyfile and -passphrase are provided, the list will create a new keypair with a random password. The type and
length of the generated keypair is specified in /etc/schleuder/schleuder.conf.
OPTIONS -c path-to-schleuder-configuration:
Specify an alternate configuration directory than the default /etc/schleuder.
-realname "Foo List"
Specify the name of the mailing list.
-adminaddress listadmin@example.net
Specify the email address of a list administrator. This address will be notified of errors, and depending on configuration may also
be allowed to send restricted email commands.
-initmember member1@example.net
Specify the first subscribed list member address. Can be the same as the administrator address. This option must be accompanied by
-initmemberkey.
-initmemberkey path-to-initmember-publickey
Specify the path to first subscribed list member public key. -initmember must also be specified.
-privatekeyfile path-to-privatekey
Specify the path to a previously-generated private key for the list. This option must be accompanied by -publickeyfile and
-passphrase.
-publickeyfile path-to-publickey
Specify the path to a previously-generated public key for the list. This option must be accompanied by -privatekeyfile and
-passphrase.
-passphrase "key passphrase"
Specify the passphrase needed to access the private key specified in -privatekeyfile. This option must be accompanied by -publickey-
file as well.
-mailuser schleuder
Specify the system user account under which schleuder(8) will be executed (when run as root, this defaults to schleuder).
-nointeractive
When specified, no questions will be asked to complete missing information.
EXAMPLES
This creates a new list called test1 with the initial member foo@bar.ch. A new keypair will be generated for the list.
schleuder-newlist foobar@example.org
-realname "bal jak"
-adminaddress admin@example.org
-initmember foo@example.com -initmemberkey /tmp/foo.pub
The list test2 will be created, a keypair from the following files with the passphrase test will be imported.
schleuder-newlist test2@example.com
-realname "bal jak"
-adminaddress foobar@example.org
-privatekeyfile ~/tmp/test2.priv
-publickeyfile /tmp/test2.pub
-passphrase test
FILES
/etc/schleuder/schleuder.conf
global Schleuder configuration
/etc/schleuder/default-list.conf
default list settings
/var/schleuderlists/HOSTNAME/LISTNAME
list internal data
/var/schleuderlists/HOSTNAME/LISTNAME/list.conf
list settings
/var/schleuderlists/HOSTNAME/LISTNAME/members.conf
list susbcribers
All configuration files are formatted as YAML. See http://www.yaml.org/ for more details.
BUGS
Known bugs are listed on the Schleuder website.
SEE ALSO schleuder(8), aliases(5), gnupg(7).
Schleuder website
http://schleuder.nadir.org/
YAML website
http://www.yaml.org/
June 2012 SCHLEUDER-NEWLIST(8)