03-29-2012
Pipe the output into
tail.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
When I type a command at the command line it supplies one result and the exact same command in a script
egrep '^01|^02|^03|^04' file > fileout
count = 29353
same count in the script yields a count of 23492
is there any reason this could be happening. (1 Reply)
Discussion started by: r1500
1 Replies
2. Shell Programming and Scripting
Hello
I have a pretty big problem here. I have a very large file having lines running into millions. A small sample of the data is shown below
<CRMSUB:MSIN=5000000013,BSNBC=TELEPHON-55108663-TS11&TS21&TS22,MSCAT=ORDINSUB,SUBRES=ALLPLMN-AIRSIMLA,BAOC=OIC,NUMTYP=MULTI;... (3 Replies)
Discussion started by: PradeepRed
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Can anyone translate in words what this line command does:
ls *.fits | grep -v "Zero\|zero" > objlist
Obviously ls *.fits means to list all the fits file, grep looks for a certain word, Zero is a certain fits file, and > objlist , created a list with certain items, but I am not sure what... (3 Replies)
Discussion started by: cosmologist
3 Replies
4. UNIX for Dummies Questions & Answers
Hi
Is there any way GREP command can return word and not complete line.
My file has following data:
Hello Everyone I am NitinrajSrivastava
Hi Friends Welcome VrajSrivastava
I am using grep 'raj' which is returning me complete line.However I want only the word having keyword 'raj'.
Required... (11 Replies)
Discussion started by: dashing201
11 Replies
5. Shell Programming and Scripting
Hi
i have a file which have a pattern like this
Nov 10 session closed
Nov 10 Nov 9 08:14:27 EST5EDT 2010 on tty .
Nov 10 Oct 19 02:14:21 EST5EDT 2010 on pts/tk .
Nov 10 afrtetryytr
Nov 10 session closed
Nov 10 Nov 10 03:21:04 EST5EDT 2010
Dec 8 Nov 10 05:03:02 EST5EDT 2010
... (13 Replies)
Discussion started by: Himanshu_soni
13 Replies
6. UNIX for Dummies Questions & Answers
Dear forum,
Please excuse my ignorance. I have looked through various forum posts and tried various solutions but have not been able to solve my problem.
File1.txt consist of a list of 100 names (one per line). File2.txt contains details for 1000 people (one per line), with the first field... (7 Replies)
Discussion started by: beginner0302
7 Replies
7. Shell Programming and Scripting
Hi,
I need to search a word in the java file.
Assume the line in the java file is, (the line was splitted into 3 lines)
1.operationContext.sendFeedback(2.FeedbackType.ERROR, null, "Input is empty.", "Input Details: pr
3.ovide Valid pair(s): "+pairType);
When i grep for the word... (6 Replies)
Discussion started by: tulasiram
6 Replies
8. Shell Programming and Scripting
here is what i want to achieve.. i have a file with below contents
cat fileName
blah blah blah
.
.DROP this
REJECT that
.
--sport 7800 -j REJECT --reject-with icmp-port-unreachable
--dport 7800 -j REJECT --reject-with icmp-port-unreachable
.
.
.
more blah blah blah
--dport 3306... (14 Replies)
Discussion started by: vivek d r
14 Replies
9. Shell Programming and Scripting
Hi,
I want to read a file line by line and exclude the lines that are beginning with special characters. The below code is working fine except when the line starts with hyphen (-) in the file.
for TEST in `cat $FILE | grep -E -v '#|/+' | awk '{FS=":"}NF > 0{print $1}'`
do
.
.
done
How... (4 Replies)
Discussion started by: Srinraj Rao
4 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
I have some xml files and I need to find out all xml where one specific type of pattern is available..
Pattern 1
==========
<MAP TIMEOUT="" MODE="STANDALONE">
<COMMENT>without Any Mapping</COMMENT>
</MAP>
Pattern 2
==========
<MAP TIMEOUT="" MODE="STANDALONE">
... (4 Replies)
Discussion started by: Baharul
4 Replies
LEARN ABOUT SUSE
man.conf
MAN.CONF(5) File Formats Manual MAN.CONF(5)
NAME
man.conf - configuration file for man
DESCRIPTION
This is the configuration file for the man(1), apropos(1), and makewhatis(8) utilities. Its presence, and all directives, are optional.
This file is an ASCII text file. Leading whitespace on lines, lines starting with '#', and blank lines are ignored. Words are separated
by whitespace. The first word on each line is the name of a configuration directive.
The following directives are supported:
manpath path
Override the default search path for man(1), apropos(1), and makewhatis(8). It can be used multiple times to specify multiple
paths, with the order determining the manual page search order.
Each path is a tree containing subdirectories whose names consist of the strings 'man' and/or 'cat' followed by the names of
sections, usually single digits. The former are supposed to contain unformatted manual pages in mdoc(7) and/or man(7) format; file
names should end with the name of the section preceded by a dot. The latter should contain preformatted manual pages; file names
should end with '.0'.
Creating a mandoc.db(5) database with makewhatis(8) in each directory configured with manpath is recommended and necessary for
apropos(1) to work, but not strictly required for man(1).
output option [value]
Configure the default value of an output option. These directives are overridden by the -O command line options of the same names.
For details, see the mandoc(1) manual.
option value used by -T
fragment none html
includes string html
indent integer ascii, utf8
man string html
paper string ps, pdf
style string html
width integer ascii, utf8
_whatdb path/whatis.db
This directive provides the same functionality as manpath, but using a historic and misleading syntax. It is kept for backward
compatibility for now, but will eventually be removed.
FILES
/etc/man.conf
EXAMPLES
The following configuration file reproduces the defaults: installing it is equivalent to not having a man.conf file at all.
manpath /usr/share/man
manpath /usr/X11R6/man
manpath /usr/local/man
SEE ALSO
apropos(1), man(1), makewhatis(8)
HISTORY
A relatively complicated man.conf file format first appeared in 4.3BSD-Reno. For OpenBSD 5.8, it was redesigned from scratch, aiming for
simplicity.
AUTHORS
Ingo Schwarze <schwarze@openbsd.org>
Debian December 28, 2016 MAN.CONF(5)