Grant Edwards <[EMAIL PROTECTED]> writes: > On 2005-04-21, Peter Maas <[EMAIL PROTECTED]> wrote: > > Maxim Kasimov schrieb: > >> but what if i just can't to do this becouse i'm working thrue ssh, and > >> have to use only installed editors (such as vi) > > > > - at first line of block enter: ma (mark line as 'a') > > - go to last line of block > > - enter :'a,.s/^/###/ (insert 3 comment chars at begin of line, > > starting from line marked as 'a' to current line) > > Sure, but what about the case where his program is on paper > tape and all he has for an editor is an ice pick?
Then inserting goto doesn't seem to be an acceptable option either ;) -- Sergei. -- http://mail.python.org/mailman/listinfo/python-list