Sujet : Re: Microsoft Introduces New Command-Line Text Editor
De : OFeem1987 (at) *nospam* teleworm.us (Chris Ahlstrom)
Groupes : comp.os.linux.advocacy alt.comp.os.windows-11Date : 20. May 2025, 16:42:49
Autres entêtes
Organisation : None
Message-ID : <100i7tq$2a8mj$1@dont-email.me>
References : 1 2
User-Agent : slrn/1.0.3 (Linux)
Chris Ahlstrom wrote this post while blinking in Morse code:
Lawrence D'Oliveiro wrote this post while blinking in Morse code:
>
Kind of amusing to see the lengths that Microsoft keeps going to, to
try to bolster its sagging geek cred. Now it is introducing a new
command-line-based text editor for 64-bit Windows!
>
<https://www.theverge.com/news/669318/microsoft-edit-on-windows-command-line-text-editor>
>
<snip>
>
Heh, at first I thought you were talking about EDLIN.
>
Believe it or not, I once worked with a team that used EDLIN to
write MASM code. One of the modules was about a megabyte. Paging to
the end of that file was excruciating... one 64K chunk at a time IIRC.
>
*WAS text
*WAS
*WAS
*WAS
. . .
Heh, edlin is available in the Debian Sid repo, was written to use with
FreeDOS:
$ edlin
*?
edlin 2.24, copyright (c) 2003 Gregory Pietsch
This program comes with ABSOLUTELY NO WARRANTY.
It is free software, and you are welcome to redistribute it
under the terms of the GNU General Public License -- either
version 2 of the license, or, at your option, any later
version.
edlin has the following subcommands:
# edit a single line [#],[#],#m move
a append [#][,#]p page
[#],[#],#,[#]c copy q quit
[#][,#]d delete [#][,#][?]r$,$ replace
e<> end (write & quit) [#][,#][?]s$ search
[#]i insert [#]t<> transfer
[#][,#]l list [#]w<> write
where $ above is a string, <> is a filename,
# is a number (which may be .=current line, $=last line,
or either number + or - another number).
*
-- He who is known as an early riser need not get up until noon.