12-02-2009
awk and configuration file
Hi,
You can load a configuration file containing variables from within AWK?
Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Anyone know which configuration file stores the users who are not permitted to use the at command? (2 Replies)
Discussion started by: Relykk
2 Replies
2. Shell Programming and Scripting
Hi folks,
I have the following configuration file,which contains list of directories:
/tmp> cat utils.conf
Backup
CPSync
Change_Listener_Port
Create_Database
Deinstall
Install_CPPlugin
Project_migrator
I have the following command in my ksh program:
mkisofs -l -L -R -V ${PACK_NAME}... (1 Reply)
Discussion started by: nir_s
1 Replies
3. HP-UX
Hi all,
I am new to hp-ux.I installed depot file.But i don't know how to configure that depot file.If anybody knows the configuration of depot file please help me.
It's urgent, because i have to configure that depot file.
Thanks & Regards,
Balaraju. (2 Replies)
Discussion started by: balarajum
2 Replies
4. Shell Programming and Scripting
Hi ,
a:) i have configuration file with pattren
<Range start no>,<Range end no>,<type of records to be extracted from the data file>,<name of the file to store output>
eg:
myfile.confg
9899000000,9899999999,DATA,b.dat
9899000000,9899999999,SMS,a.dat
b:) Stucture of my data file is... (3 Replies)
Discussion started by: suparnbector
3 Replies
5. Shell Programming and Scripting
i am trying to use a configuration file to FTP some files.. i am not sure how to call or use a configuration file in script.
can anybody help (5 Replies)
Discussion started by: iamcool
5 Replies
6. Solaris
Hi all-interesting forum.
I am new with Solaris and i would like your advice on this:
I am using a solaris 8 (ultra sparc IIi) workstation at my work,and i am trying to built another one exactly the same-so if the first one fails to have another one as backup.
The problem is that the guy who... (1 Reply)
Discussion started by: ioa_pol
1 Replies
7. Shell Programming and Scripting
Hi
I need a cofiguration file for my perl script...
Suppose my perl script for counting total number of user is
#!/usr/bin/perl -w
$total_users;
#To get how many users currently logged in###########
$total_users=`who | wc -l`;
print... (2 Replies)
Discussion started by: Harikrishna
2 Replies
8. Shell Programming and Scripting
I was writing a script that will FTP files to destination folder. All configuration should be done through a properties files and the main script will read the values from the properties file.
the properties file should contain
1) Source folders
2) Source file pattern
3) Destination folder... (4 Replies)
Discussion started by: rahulsxn660
4 Replies
9. Shell Programming and Scripting
This is a weird problem. Following is my code.
/opt/quest/bin/vastool configure pam sshd
/opt/quest/bin/vastool configure pam ssh
cat /etc/pam.conf | \
awk '$1=="ssh"||$1=="sshd"||$1=="emagent"{sub("prohibit","aix",$NF);}1' OFS='\t' > /etc/pam.conf
cat /etc/ssh/sshd_config | \
sed -e... (2 Replies)
Discussion started by: pjeedu2247
2 Replies
10. Red Hat
Hi,
Could you please explain about "restrict" parameters in /etc/ntp.conf in ntp client and ntp Servers.
Example:
restrict 127.0.0.1
restrict -6 ::1
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
Regards,
Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies
LEARN ABOUT NETBSD
devscripts.conf
DEVSCRIPTS.CONF(5) File Formats Manual DEVSCRIPTS.CONF(5)
NAME
devscripts.conf - configuration file for the devscripts package
DESCRIPTION
The devscripts package provides a collection of scripts which may be of use to Debian developers and others wishing to build Debian pack-
ages. Many of these have options which can be configured on a system-wide and per-user basis.
Every script in the devscripts package which makes use of values from these configuration files describes the specific settings recognised
in its own manpage. (For a list of the scripts, either see /usr/share/doc/devscripts/README.gz or look at the output of dpkg -L devscripts
| grep /usr/bin.)
The two configuration files are /etc/devscripts.conf for system-wide defaults and ~/.devscripts for per-user settings. They are written
with bash(1) syntax, but should only have comments and simple variable assignments in them; they are both sourced (if present) by many of
the devscripts scripts. Variables corresponding to simple switches should have one of the values yes and no; any other setting is regarded
as equivalent to the default setting.
All variable names are written in uppercase, and begin with the script name. Package-wide variables begin with "DEVSCRIPTS", and are
listed below, as well as in the relevant manpages.
For a list of all of the available options variables, along with their default settings, see the example configuration file
/usr/share/doc/devscripts/devscripts.conf.ex. This is copied to /etc/devscripts.conf when the devscripts package is first installed.
Information about configuration options introduced in newer versions of the package will be appended to /etc/devscripts.conf when the pack-
age is upgraded.
Every script which reads the configuration files can be forced to ignore them by using --no-conf as the first command-line option.
PACKAGE-WIDE VARIABLES
The currently recognised package-wide variables are:
DEVSCRIPTS_CHECK_DIRNAME_LEVEL, DEVSCRIPTS_CHECK_DIRNAME_REGEX
These variables control scripts which change directory to find a debian/changelog file or suchlike, and some other miscellaneous
cases. In order to prevent unwanted, even possibly dangerous, behaviour, these variables control when actions will be performed.
The scripts which currently make use of these variables are: debc, debchange/dch, debclean, debi, debrelease, debuild and uscan, but
this list may change with time (and I may not remember to update this manpage). Please see the manpages of individual scripts for
details of the specific behaviour for each script.
SEE ALSO
devscripts(1) and /usr/share/doc/devscripts/README.gz.
AUTHOR
This manpage was written for the devscripts package by the package maintainer Julian Gilbey <jdg@debian.org>.
DEBIAN
Debian Utilities DEVSCRIPTS.CONF(5)