vi question

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Ed Skinner
日付:  
題目: vi question
Oops -- didn't read your post correctly. Open my mouth and insert my foot.

:.,$ d

     This deletes the current line through the end of file, but not from the 
current position.
(Waiting for someone smarter than me to answer.)




On Wednesday 19 February 2003 07:43 am, you wrote:
> I would like to know how to delete from the
> current position to the end of file in VI(M).
>
> I was told by a fellow vi'er that the command
>
> ":d .,$" would do the trick. It does not, I get
> the message "Trailing Characters".
>
> Any help would be appreciated.
>
> v/r
> -Mike
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


--
Ed Skinner, , http://www.flat5.net/