> related to the earlier discussion, for stripping the \r at the end of
> lines in windows files, i use:
>
> ,x/<CR>$/ c//
>
> where <CR> is a cut&pasted return char (yes, i could use '.' instead,
> but i'm paranoid.) x doesn't seem to recognize \r as a escape
> sequence. true?
no they don't: sam/regexp.c and acme/regx.c both have a lex function
that starts basically like this (from acme)
int
lex(void){
int c;
c = *exprp++;
switch(c){
case '\\':
if(*exprp)
if((c= *exprp++)=='n')
c='\n';
i suppose you could also type <compose>000d.
- erik