09-07-2007
Where can I review the source code?
A very n00b question: After compiling and installing software, where does the original source code reside? I'd like to study the source code of some of the ports I've installed. Thanks!
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
use "getopts" to get params from command. Need replace black with a specified string like "%20
DEFAULT_DELIM=%20
...
while getopts dek:f:t:vh OPTION
do
case $OPTION in
t)
DELIM=`tvar=/'"$OPTARG"'/ svar="$DEFAULT_DELIM" awk 'BEGIN{T=ENVIRON;S=ENVIRON; while(index(T,S)!=0){S=S"0"};print... (0 Replies)
Discussion started by: anypager
0 Replies
2. Shell Programming and Scripting
I am getting an error "ftpNotes.sh: syntax error at line 8 : `<<' unmatched"
#!/bin/ksh
PATH=/usr/sbin/:/usr/bin:/usr/ucb:/etc:/usr/local/bin:.
cd $HOME
if ;then
if ; then
echo 'DSC file already ftp to epm server'
else
ftp -n epmdev00 <<SCRIPT... (1 Reply)
Discussion started by: sibghat
1 Replies
3. Shell Programming and Scripting
Started writing my code.
my read input is not even asking nor working?
And I get a EOF script error.
echo "1) aragorn.domain.net"
echo "2) marvel.domain.net"
echo "3) athena.domain.net"
echo "4) gandalf.domain.net"
echo "5) griffin.domain.net"
echo "What server would you like... (4 Replies)
Discussion started by: chrchcol
4 Replies
4. UNIX for Advanced & Expert Users
Pls review this code and provide your feedbacks to make it more efficient.I have tried to add to each section.
Code
###############################################################
#!/bin/ksh
RRSRC=/test
RREP=/test
#Directories
test_dir=/test
#Imp Files
FILENAME=/test/files.txt
#... (5 Replies)
Discussion started by: w020637
5 Replies
5. Shell Programming and Scripting
Hello All,
I have 2 questions,
1) I am on Unix Sun Solaris korn shell, in my shell scripts i am using
#!/bin/sh Instead of #!/bin/ksh, though it is still working is this correct way of doing and also I am saving the shell script file as abc.sh instead of abc.ksh, please let me know the best... (1 Reply)
Discussion started by: Ariean
1 Replies
LEARN ABOUT PLAN9
dh_missing
DH_MISSING(1) Debhelper DH_MISSING(1)
NAME
dh_missing - check for missing files
SYNOPSIS
dh_missing [-Xitem] [--sourcedir=dir] [debhelperoptions]
DESCRIPTION
dh_missing compares the list of installed files with the files in the source directory. If any of the files (and symlinks) in the source
directory were not installed to somewhere, it will warn on stderr about that (--list-missing) or fail (--fail-missing). Please note that
without either of these options, dh_missing will silently do nothing.
This may be useful if you have a large package and want to make sure that you don't miss installing newly added files in new upstream
releases.
Remember to test different kinds of builds (dpkg-buildpackage -A/-B/...) as you may experience varying results when only a subset of the
packages are built.
FILES
debian/not-installed
List the files that are deliberately not installed in any binary package. Paths listed in this file are ignored by dh_missing.
However, it is not a method to exclude files from being installed by any of the debhelper tool. If you want a tool to not install a
given file, please use its --exclude option (where available).
dh_missing will expand wildcards in this file (since debhelper 11.1). Wildcards without matches will be ignored.
OPTIONS
--list-missing
Warn on stderr about source files not installed to somewhere.
Note that files that are excluded from being moved via the -X option are not warned about.
This is the default in compat 12 and later.
--fail-missing
This option is like --list-missing, except if a file was missed, it will not only list the missing files, but also fail with a nonzero
exit code.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Michael Stapelberg <stapelberg@debian.org>
11.1.6ubuntu2 2018-05-10 DH_MISSING(1)