Using a makefile I want to compile all .c files in the current directory without specifying them directly and then link their associated .o files into a library.
How do I do this ?
Thanks. (1 Reply)
I'm trying to delete lines from a large text file using VI.
Every line that I am wanting to delete start with 'S' - all others do not. (A list of users)
I've tried using * but doesn't seem to like it...any ideas...
Doesn't have to be VI - but I'm better with VI than sed/awk. (8 Replies)
when writing a shell script (bourne) and using a unix command like 'ls' is there anything special you need to do to use a wildcard (like *)? (3 Replies)
ok, I'm trying to write a script file that lists files with specific elements in the name into a txt file, it looks like this
ls s*.dat > file_names.txt
can't figure out whats wrong with that line, any ideas?
thanks in advance (10 Replies)
Hi All
Please excuse another straightforward question. When creating a tar archive from a directory I am attempting to use wildcards to eliminate certain filetypes (otherwise the archive gets too large). So I am looking for something along these lines.
tar -cf archive.tar * <minus all *.rst... (5 Replies)
I am using this code to locate and modify one particular ID in a file containing thousands of entries
sed 's/^>OldID/>NewID/g' Infile > Outfile
How can I modify the code so I can rename all old IDs to a new unique ID?
I tried this
sed 's/^>*/>NewID/g' Infile > Outfile
but it did not... (10 Replies)
Hi,
I've got a ksh for loop with wildcards specified, and I want the wildcards to be preserved when inside the loop. Instead, it is expanding the wilcards and identifying filenames in the current directory
#!/usr/bin/ksh
list="a* b*"
for i in ${list}
do
echo 'Loop value =' ${i}
done... (2 Replies)
Hello:
I have a very basic question. I'd like to select all files except for one file. For example, say I want to move all of the files in my current directory to a subdirectory called archive, I would use mv ./* archive/ But what if I want to move all files except for README.txt? Is there an... (19 Replies)
Discussion started by: Danny.Boy
19 Replies
LEARN ABOUT XFREE86
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 ALSOdebhelper(7)
This program is a part of debhelper.
AUTHOR
Michael Stapelberg <stapelberg@debian.org>
11.1.6ubuntu2 2018-05-10 DH_MISSING(1)