04-30-2009
yes --prefix is used to install in an alternate location. You should point to a specific directory, not /usr/local.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've got a bunch of files called oldabc, olddef etc.
i want to copy these to be abc, def....
I can do this with file extensions....but can get the logic to work for prefixes. All the files I am interested in have a prefix of 'old'.
This loop is no good for me....it looks at the content... (2 Replies)
Discussion started by: peter.herlihy
2 Replies
2. Shell Programming and Scripting
I'm trying to put together a shell script that will append specific prefixes based on the content of filenames. I think I have this part down. However, I want to append before that part a process that will remove the current prefix before it renames the files with the new prefix.
For example,... (6 Replies)
Discussion started by: HLee1981
6 Replies
3. UNIX for Dummies Questions & Answers
I got some job running on Sun Unix system, which sends the email to outlook client on windows after completion.
Few of the emails are coming with SUSPECT: prefixes.
I am using unix command mailx to send the message. Messages are simple text
Any idea on this
Thanks
Ashok (1 Reply)
Discussion started by: akrathi
1 Replies
4. Shell Programming and Scripting
Hi
Input File:
export NAME='AA.BB.CC'
export FILE=1.2.3
AA.BB.CC
export MAIL= '1.3.3'
export char='XX.YY.ZZ'
Out File
export NAME='AA/BB/CC'
export FILE=1.2.3
AA.BB.CC
export MAIL= '1.3.3'
export char='XX/YY/ZZ'
Only the Lines which have export and have alphabets after =... (9 Replies)
Discussion started by: pbsrinivas
9 Replies
5. Shell Programming and Scripting
Hi,
I have a variable, which contains comma separated values. Something like.
StringA="abc,def,ghi,jkl"
I want to apply prefix and suffix to each value in the string without using any loops.
Say if Prefix is Pre_ and Suffix is _Suf then I need to get
... (1 Reply)
Discussion started by: tostay2003
1 Replies
6. Shell Programming and Scripting
Remove prefix using awk
File:
nawk -F"|" '{if ($1 ~ /^xyz./) print; else { gsub(.*\..*, \..*, $1) ;print }}' file
Error:
ouput required: (5 Replies)
Discussion started by: pinnacle
5 Replies
7. Shell Programming and Scripting
I want an integer to be prefix with some zeros so that it makes the integer 5 digit always:
For eg: if the digit is 8 i need 00008
if the digit is 8976 ans sud be 08976.
Could anyone say simple and efficient commands to this in ksh.
Thanks a lot... (4 Replies)
Discussion started by: PRKS
4 Replies
8. Shell Programming and Scripting
Hello everyone,
I want to remove only prefix ME_ from all the values that are present in the FILEA. Below code I'm using for this.
sed 's/ME\_//g' FILEA > FILEB
Using the above code, all ME_ values are getting removed from the file. But the problem here is I want to remove only Prefix ME_... (4 Replies)
Discussion started by: ed_9
4 Replies
9. UNIX for Advanced & Expert Users
Hi,
I want to add prefix and suffix on line# 205 using SED or AWK and want to change on the same file without creating new file.
This command will be used in the bash script
Am using Bash shell
Regards
Nayaj (3 Replies)
Discussion started by: Nayaj
3 Replies
10. Shell Programming and Scripting
Dear All,
assume i have a file with content:
<Start>6000</Start>
<Stop>7599</Stop>
the output is:
6000
7000
7100
7200
7300
7400
7599
how should we use any awk, sed, perl can do this task, means to extract the uniq prefixes from the start and stop prefix.
Thanks
Jimmy (3 Replies)
Discussion started by: jimmy_y
3 Replies
LEARN ABOUT DEBIAN
isc-config.sh
ISC-CONFIG.SH(1) BIND9 ISC-CONFIG.SH(1)
NAME
isc-config.sh - Get information about the installed version of ISC BIND
SYNOPSIS
isc-config.sh [--cflags] [--exec-prefix] [--libs] [--prefix] [--version] [libraries...]
DESCRIPTION
isc-config.sh prints information related to the installed version of ISC BIND, such as the compiler and linker flags required to compile
and link programs that use ISC BIND libraries.
The optional libraries are used to report specific details for compiling and linking for the listed libraries. The allowed choices are:
isc, isccc, isccfg, dns, lwres, and bind9. Multiple libraries may be listed on the command line. (Some libraries require other libraries,
so are implied.)
OPTIONS
--cflags
Prints the compiler command line options required to compile files that use ISC BIND. Use the libraries command line argument(s) to
print additional specific flags to pass to the C compiler.
--exec-prefix
Prints the directory prefix used in the ISC BIND installation for architecture dependent files to standard output.
--libs
Prints the linker command line options used to link with the ISC BIND libraries. Use the libraries command line argument(s) to print
additional specific flags.
--prefix
Prints the directory prefix used in the ISC BIND installation for architecture independent files to standard output.
--version
Prints the version of the installed ISC BIND suite.
RETURN VALUES
isc-config.sh returns an exit status of 1 if invoked with invalid arguments or no arguments at all. It returns 0 if information was
successfully printed.
AUTHOR
Internet Systems Consortium
COPYRIGHT
Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
BIND9 December 19, 2008 ISC-CONFIG.SH(1)