04-09-2018
What did you try, and what wrong output did you get?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
ppl,
this is my "file" with fields
orderno orderdate orderdesc telno street city
1 01/04/2006 abc 123 100 tampa
2 01/04/2006 abc 123 100 tampa
3 01/04/2006 abc 123 100 tampa
4 01/04/2006 abc ... (2 Replies)
Discussion started by: manthasirisha
2 Replies
2. Shell Programming and Scripting
Hi all
Iam having a text file of records seperated by "SPACE"
and another text File of Records seperated by "TAB"
i'm writing a Generic code for Extracting Duplicate Records
Iam using "cut" Command to extract data.
How Can I Neglect Delimiter And write a generic code for all cases
... (4 Replies)
Discussion started by: G.Aavudai
4 Replies
3. Shell Programming and Scripting
Dear All
I want to search string "1000" from input file and if it found i want remove line that contain 1000 and also remove 3 line above it and 2 line below it.
INPUT FILE:
BHAT-D 2
aaa
ID CODE GS UPDATE MODE LANG MCO MCL NUMPAGES
50 ... (7 Replies)
Discussion started by: jaydeep_sadaria
7 Replies
4. Programming
I have a file on UNIX system from where I want to grep the list of all users associated to the particular repository.If the user's list is in single line then I fetch all list but if it is in two separate lines it doesn't.I use the below command
a=KESTREL-DEV;b=users;cat access_file|grep... (1 Reply)
Discussion started by: rohit22hamirpur
1 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I have a csv file like the following:
"ABCD2","EFGH2","XXXX","1"
"ABCD2","EFGH2","XXXX","2"
I want to grep out the row which contains the value of 2 within the 4th column, so then i can use the extracted record to cut up and store into numerous variables.
Obviously when... (3 Replies)
Discussion started by: RichZR
3 Replies
6. UNIX for Dummies Questions & Answers
How do you grep cells that contain a specific string. I tried grep but it greps the whole line and not just the cells. Thanks! (4 Replies)
Discussion started by: evelibertine
4 Replies
7. UNIX for Dummies Questions & Answers
i have file input
dsgfdgdfgd> cab |egrep -i '(active|cbu)'
130502-11:34:11 10.133.1.153 9.0j stopfile=/tmp/15959
Trying password from ipdatabase file: /opt/ericsson/amos/moshell/sitefiles/ipdatabase...
.. 0 1 CBU1 OFF ON 16HZ ROJ1192209/1 R5E TU8BZ04466... (3 Replies)
Discussion started by: radius
3 Replies
8. Shell Programming and Scripting
Hello,
I know there are many questions and replies regarding grep command.
What I would like to do is a bit different.
File A:
hello world welcome to my page
this is my test site
how are you
I am fine, thank you
where have you been
I was in hospital
really hope you are fine now
Thanks,... (10 Replies)
Discussion started by: baris35
10 Replies
9. Shell Programming and Scripting
Hello,
I have two files. All urls are space seperated.
source
http://xx.yy.zz http://df.ss.sd.xz http://09.09.090.01
http://11.22.33 http://canada.xx.yy http://01.02.03.04
http://33.44.55 http://98.87.76.65 http://russia.xx.zz
http://aa.tt.xx.zz http://1w.2e.3r.4t http://china.rr.tt
... (4 Replies)
Discussion started by: baris35
4 Replies
10. UNIX for Beginners Questions & Answers
Lets say I have a massive directory which is filled with other directories all filled with different c++ scripts and I want a listing of all the scripts that contain the string: "this string". Is there a way to use a grep search for that? I tried:
grep -lr "this string" *
but I do not... (3 Replies)
Discussion started by: Circuits
3 Replies
LEARN ABOUT DEBIAN
dh_installman
DH_INSTALLMAN(1) Debhelper DH_INSTALLMAN(1)
NAME
dh_installman - install man pages into package build directories
SYNOPSIS
dh_installman [debhelperoptions] [manpage...]
DESCRIPTION
dh_installman is a debhelper program that handles installing man pages into the correct locations in package build directories. You tell it
what man pages go in your packages, and it figures out where to install them based on the section field in their .TH or .Dt line. If you
have a properly formatted .TH or .Dt line, your man page will be installed into the right directory, with the right name (this includes
proper handling of pages with a subsection, like 3perl, which are placed in man3, and given an extension of .3perl). If your .TH or .Dt
line is incorrect or missing, the program may guess wrong based on the file extension.
It also supports translated man pages, by looking for extensions like .ll.8 and .ll_LL.8, or by use of the --language switch.
If dh_installman seems to install a man page into the wrong section or with the wrong extension, this is because the man page has the wrong
section listed in its .TH or .Dt line. Edit the man page and correct the section, and dh_installman will follow suit. See man(7) for
details about the .TH section, and mdoc(7) for the .Dt section. If dh_installman seems to install a man page into a directory like
/usr/share/man/pl/man1/, that is because your program has a name like foo.pl, and dh_installman assumes that means it is translated into
Polish. Use --language=C to avoid this.
After the man page installation step, dh_installman will check to see if any of the man pages in the temporary directories of any of the
packages it is acting on contain .so links. If so, it changes them to symlinks.
Also, dh_installman will use man to guess the character encoding of each manual page and convert it to UTF-8. If the guesswork fails for
some reason, you can override it using an encoding declaration. See manconv(1) for details.
FILES
debian/package.manpages
Lists man pages to be installed.
OPTIONS
-A, --all
Install all files specified by command line parameters in ALL packages acted on.
--language=ll
Use this to specify that the man pages being acted on are written in the specified language.
manpage ...
Install these man pages into the first package acted on. (Or in all packages if -A is specified).
NOTES
An older version of this program, dh_installmanpages(1), is still used by some packages, and so is still included in debhelper. It is,
however, deprecated, due to its counterintuitive and inconsistent interface. Use this program instead.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
9.20120909 2012-04-24 DH_INSTALLMAN(1)