06-19-2007
I'm trying to figure out a way to exclude FeedBot. I'll post here when it is done, but I guess you guys will already know.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've searched the net and tried various solutions that don't work for me.
I'm trying to return values from a SQL query and I keep getting a "^M" appended to one field.
Getting data from table
SELECT * FROM TABLE...
Spooling to $HOME/out.log
...
WF_DATA=`tail -7 $HOME/out.log |... (5 Replies)
Discussion started by: Crios121
5 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
3. Shell Programming and Scripting
hi All,
cat file_name | awk /^~/'{print $1","$2","$3","$4}' | sed -e 's/~//g'
Can this be done by using sed or awk alone (4 Replies)
Discussion started by: harshakusam
4 Replies
4. Shell Programming and Scripting
I have a file that I ran the dos2unix utility on, it cleans up pretty well, but I noticed an occasional ^M leftover, (actual characters) these may or may not be strays from my original dos file. Either way, I want to get rid of the ^ and any character that may follow. ^M ^C or whatever.
How do I... (6 Replies)
Discussion started by: ajp7701
6 Replies
5. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
6. Shell Programming and Scripting
logs:
"/home/abc/public_html/index.php"
"/home/abc/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
"/home/xyz/public_html/index.php"
how to use "cut" or "awk" or "sed" to get the following result:
abc
abc
xyz
xyz
xyz (8 Replies)
Discussion started by: timmywong
8 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
9. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT LINUX
dh_strip
DH_STRIP(1) Debhelper DH_STRIP(1)
NAME
dh_strip - strip executables, shared libraries, and some static libraries
SYNOPSIS
dh_strip [debhelperoptions] [-Xitem] [--dbg-package=package] [--keep-debug]
DESCRIPTION
dh_strip is a debhelper program that is responsible for stripping executables, shared libraries, and static libraries that are not used for
debugging.
This program examines your package build directories and works out what to strip on its own. It uses file(1) and file permissions and
filenames to figure out what files are shared libraries (*.so), executable binaries, and static (lib*.a) and debugging libraries (lib*_g.a,
debug/*.so), and strips each as much as is possible. (Which is not at all for debugging libraries.) In general it seems to make very good
guesses, and will do the right thing in almost all cases.
Since it is very hard to automatically guess if a file is a module, and hard to determine how to strip a module, dh_strip does not
currently deal with stripping binary modules such as .o files.
OPTIONS
-Xitem, --exclude=item
Exclude files that contain item anywhere in their filename from being stripped. You may use this option multiple times to build up a
list of things to exclude.
--dbg-package=package
Causes dh_strip to save debug symbols stripped from the packages it acts on as independent files in the package build directory of the
specified debugging package.
For example, if your packages are libfoo and foo and you want to include a foo-dbg package with debugging symbols, use dh_strip
--dbg-package=foo-dbg.
Note that this option behaves significantly different in debhelper compatibility levels 4 and below. Instead of specifying the name of
a debug package to put symbols in, it specifies a package (or packages) which should have separated debug symbols, and the separated
symbols are placed in packages with -dbg added to their name.
-k, --keep-debug
Debug symbols will be retained, but split into an independent file in usr/lib/debug/ in the package build directory. --dbg-package is
easier to use than this option, but this option is more flexible.
NOTES
If the DEB_BUILD_OPTIONS environment variable contains nostrip, nothing will be stripped, in accordance with Debian policy (section 10.1
"Binaries").
CONFORMS TO
Debian policy, version 3.0.1
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
8.9.0ubuntu2.1 2012-06-12 DH_STRIP(1)