12-11-2012
So if i have multiple lines with different names, how do I achieve that?
Thanks much!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can some1 help me to output a tab in an echo statement.
I have tried
echo "RNC: \t NODEB"
but dont get the correct output.
I am a beginnger to unix, so pls hold back the laughs....if u can (5 Replies)
Discussion started by: sunils27
5 Replies
2. Shell Programming and Scripting
i want to format the file with tab delimitaed and assign heading to each column .
my format of file is
7 aiss 10
8 linux 25
9 linux_10for 35
Ouput i want like this
Ver Host Fails
7 aiss 10
8 linux 25
9 ... (5 Replies)
Discussion started by: getdpg
5 Replies
3. UNIX for Dummies Questions & Answers
I have input like:
1234567890
cut -c1-3,6-7,9-10 input > output
Now I got 1236790.
I want to insert space between each cut. So the output like:
123 67 90
Can anybody help?
Thanks. (7 Replies)
Discussion started by: sslr
7 Replies
4. Shell Programming and Scripting
Hi,
I'm using the following to insert lines into file:
sed ${rowNr}i'\
first row\
second row\
third row\
' file.txt
How can I add tab in front of each added line? "\t" or actual TAB does not seem to work?
Thanks! (2 Replies)
Discussion started by: Juha
2 Replies
5. Shell Programming and Scripting
Hello,
Can someone help me to do this with awk or sed? I have a file with multiple lines, each line has many fields separated with a tab. I would like to add one more field holding 'na' in between the first and second fields.
old file looks like,
1, field1 field2 field3 ...
2, field1... (7 Replies)
Discussion started by: ssshen
7 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I have about 100 files in a directory with fields which are tab delimited. I would like to append the file name as the first field and it has to be done as many times as the total lines in the file.
For example,
myFile1.txt has the following data:
1 x y z
2 a b ... (5 Replies)
Discussion started by: Gussifinknottle
5 Replies
7. Shell Programming and Scripting
trying to insert a LF and 2 TABs for this:
sed 's/<td><\/td>/<td>\n\t\t<\/td>/' infile.
but, I'm not getting the syntax for inserting the LF and TABs correct (1 Reply)
Discussion started by: dba_frog
1 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I have this:
begin data;
dimensions nind=168 nloci=6;
info
BDT001.4 ( 1 , 1 ) ( 1 , 12 )
BDT003.4 ( 1 , 1 ) ( 12 , 12 )
BDT007.4 ( 1 , 1 ) ( 12 , 12 )
BDT009.4 ( 1 , 32 ) ( 12 , 22 )
etc, etc
And need this:
begin data;
dimensions nind=168 nloci=6;
info
... (2 Replies)
Discussion started by: MDeBiasse
2 Replies
9. Shell Programming and Scripting
Hi,
I have a String(words with tab space) in a file ->file1.txt
0xxxx 11 test $aa$ 8.43
when i read the file and assign to variable
value=$(cat file1.txt)
echo $value
i get the output without tab spaces.
0xxxx 11 test $aa$ 8.43
How to assign string... (2 Replies)
Discussion started by: nanthagopal
2 Replies
10. Shell Programming and Scripting
Hi all ,
I have a file having 12 columns tab delimited .
I need to read this file and remove the column 3 and column 4 and insert a word in column 3 as "AVIALABLE "
Is there a way to do this . I am trying like below
Thanks
DJ
cat $FILENAME|awk -F"\t" '{ print $1 "\t... (3 Replies)
Discussion started by: Hypesslearner
3 Replies
LEARN ABOUT XFREE86
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)