06-16-2006
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am using ksh.
I have to find wether data file has EOL or not. as per my knowledge we can easily find by checking each character. But this is a tedious job as per my requirement because my data file size is very big . It may be in 25-30 MB.
So please advice me how i can check wether... (4 Replies)
Discussion started by: HariRaju
4 Replies
2. Shell Programming and Scripting
Hi,
Just consider there are around 10 lines in a file. Now is it possible to delete the first 2 lines in the file without opening the file. No matter whatever the content of the file is, I just wanna delete the first 2 lines without opening the file. Is that possible? If so, please help me out.... (3 Replies)
Discussion started by: toms
3 Replies
3. Shell Programming and Scripting
Hi All,
I am new to shell scripting but have successfully created some of my own scripts using awk and sed. However, I have come across a problem that I cannot solve on my own and have not been able to find a good example that relates to what I am trying to do.
What I need is for the... (4 Replies)
Discussion started by: kixazz2529
4 Replies
4. Shell Programming and Scripting
cat can't show the last line of a file sftp transffered from Windows, because the last line is not ended with new line.
Vi can show all line with warning
I can append blank line in order for cat to show all lines, But is there a command to do this without modifying the file?
> cat -A... (3 Replies)
Discussion started by: honglus
3 Replies
5. UNIX for Dummies Questions & Answers
if we happen to have a very big .csv file we cannot or dont care to edit,
is there a way to check if the file contains a header row? (2 Replies)
Discussion started by: lydiaflamp
2 Replies
6. Shell Programming and Scripting
Dear All,
this is my first post on this Forum, glad to be here.
I'm trying to fix an .ods file. Yes, I had a backup, but it's also corrupted.
When opening the document I get this EM:
read error
format error discovered in the file in sub-document content.xml at
2,337040(row,col).
So I... (3 Replies)
Discussion started by: jameslast
3 Replies
7. OS X (Apple)
I was editing a file with vi and crashed so when I opened the file again I had the .swp file to deal with. I made the wrong choice trying to recover my file and wound up with a file with no eol (end of line) characters.
I have forgotten the code to substitute and don't want to make an even... (2 Replies)
Discussion started by: gale
2 Replies
8. Shell Programming and Scripting
Hi friends,
In my shell script, I want to open a file using vi editor. After opening the file in vi, I want to save and quit this file automatically.... all through shell script.
the code segment is:
------------------------------------------------------------
cd ~/netfpga/projects/scone/sw/... (2 Replies)
Discussion started by: sachinteotia
2 Replies
9. AIX
Below is the error:
Out of memory saving lines for undo - try using ed
:
Please help me how do I open this file.
Best regards,
Vishal (5 Replies)
Discussion started by: Vishal_dba
5 Replies
10. UNIX for Dummies Questions & Answers
I have file called "text". The contents are as below :
aaa
bbb
ccc
ddd
eee
ffff
ddd
hhhh
iiii
I want to read this file without opening and and delete the last line. How can it be done? (4 Replies)
Discussion started by: the_hunter
4 Replies
LEARN ABOUT MOJAVE
man.conf
MAN.CONF(5) File Formats Manual MAN.CONF(5)
NAME
man.conf - configuration data for man
DESCRIPTION
This file is read by man(1) and contains (a) information on how to construct the search path for man, (b) full path names for various pro-
grams like nroff, eqn, tbl etc. used by man, and (c) a list with uncompressors for files with a given extension. An alternative version of
this file can be specified with
man -C private_man.conf ...
The command names may be provided with options. Useful options to nroff can be found in grotty(1). For example, instead of the default
line
NROFF /usr/bin/groff -mandoc -Tlatin1
one may write
NROFF /usr/bin/groff -mandoc -Tlatin1 -P-u -P-b
in order to suppress underlining and overstriking.
FILES
/private/etc/man.conf
AUTHOR
John W. Eaton was the original author of man. Zeyd M. Ben-Halim released man 1.2, and Andries Brouwer followed up with versions 1.3 thru
1.5p. Federico Lucifredi <flucifredi@acm.org> is the current maintainer.
SEE ALSO
col(1), (g)eqn(1), (g)pic(1), groff(1), grotty(1), (g)refer(1), (g)tbl(1), less(1), man (1) and compress(1), gzip(1).
September 19, 2005 MAN.CONF(5)