blank.gif (43 bytes)

Church Of The
Swimming Elephant

Search:
index.gif

ntcmds00000000.gif

Edlin: W (Write)--Notes

How the W command works

When you open a file, Edlin reads lines from disk until memory is more than 75-percent full. It reserves the other 25 percent for changes you might make to the text. If your entire file fits in memory, Edlin displays the following message:

End of input file

If you see this message, you do not need to use the w and a (append) commands.

If Edlin does not display this message when you open a file, the size of the file exceeds available memory. Therefore, you must edit your file in stages by using the w and a commands to write and read parts of the file, respectively.

The w command does not write to disk the changes you make unless it was actually necessary to use the w command. Therefore, if you use the w command even though the whole file fit into memory and then you use the q (quit) command to quit Edlin, none of the changes you made to the file are saved.

Line renumbering

After Edlin writes the first portion of the edited file from memory to a disk, you can use the Edlin l (list) command at the Edlin prompt to see the correctly renumbered lines that remain, beginning with line number 1.

Default setting

If you omit the n parameter, Edlin writes lines from the edited file in memory to a disk until memory is 25-percent full.

More Information About Edlin: W

ntcmds00000001.gif Edlin: W--Example

ntcmds00000001.gif Edlin: W

Cotse.Net

Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

 
.
www.cotse.com
Have you gone to church today?
.
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 Cotse.com.
Cotse.com is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609