I'm training a newbie on unix. He's in another site and I can't share my unix books with him - is there any documentation on basic unix commands he can download? (1 Reply)
I'm trying to make use of some common generic functions already present in the scripts loaded in the environment.
A variable VAR1 is declared and used in the generic functions.
Its value is also set in the generic function.
Now I need to use that generic function for PURGING of some old files... (2 Replies)
Hi.
I'm New user for this Forum.Presently i'm working with Cygwin
I want to know the basic commands that will be used for Cygwin.
Can anyone guide me on this regards
Thanks & Regards
Sanjay (0 Replies)
Hello out there!!!
I have a Red Hat Entreprise Linux 4 server and I am encountering this error
# grep
Segmentation Fault
I know it is not the right use of grep command, but I did that just for testing purpose,then I did
# which grep
/bin/grep
# ls -l /bin/grep
-rwxr-xr-x 1 root... (4 Replies)
Hi all,
I am trying to use the Ex editor and its commands in a script - more specifically within an if statement within a while loop.
Here are the basics of the loop:
cat $file1 | while read line
do
grep $line $file2
if ]
then
echo $line > $file2
elseex $file2
/ESI185... (4 Replies)
Hi,
I have a n android phone and just rooted it. I access it using 'terminal Emulator'. I performed many basic linux-like commands in the terminal like rm,ls,df,reboot etc and they are working fine. But many of them are not like man <something>, clear,du etc.
Can any of you please help to... (20 Replies)
Discussion started by: shekhar_4_u
20 Replies
LEARN ABOUT DEBIAN
elvfmt
ELVFMT(1) User commands ELVFMT(1)NAME
elvfmt - adjust line-length for paragraphs of text
SYNOPSIS
elvfmt [-w width | -width] [-s] [-c] [-i chars] [-C] [-M] [file]...
VERSION
This page describes the Elvis 2.2_0 version of elvfmt. See elvis(1).
DESCRIPTION
elvfmt is a simple text formatter. It inserts or deletes newlines, as necessary, to make all lines in a paragraph be approximately the
same width. It preserves indentation and word spacing.
If you don't name any files on the command line, then elvfmt will read from stdin.
It is typically used from within vi(1) or elvis(1) to adjust the line breaks in a single paragraph. To do this, move the cursor to the top
of the paragraph, type "!}elvfmt", and hit <Return>.
OPTIONS -w width or -width
Use a line width of width characters instead of the default of 72 characters.
-s Don't join lines shorter than the line width to fill paragraphs.
-c Try to be smarter about crown margins. Specifically, this tells elvfmt to expect the first line of each paragraph to have a differ-
ent indentation than subsequent lines. If text from the first input line is wrapped onto the second output line, then elvfmt will
scan ahead to figure out what indentation it should use for the second output line, instead of reusing the first line's indentation.
-i chars
Allow the indentation text to include any character from chars, in addition to spaces and tabs. You should quote the chars list to
protect it from the shell.
-C and -M
These are shortcuts for combinations of other flags. is short for and is useful for reformatting C/C++ comments. is short for
and is useful for reformatting email messages.
SEE ALSO vi(1), elvis(1)AUTHOR
Steve Kirkendall
kirkenda@cs.pdx.edu
ELVFMT(1)