sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
* (no subject)
@ 1993-02-21 16:19 rob
  1993-02-21 23:33 ` A new pleasure John Mackin
  1993-02-22  2:17 ` David Hogan
  0 siblings, 2 replies; 3+ messages in thread
From: rob @ 1993-02-21 16:19 UTC (permalink / raw)
  To: sam-fans

	x s2/ +/ /g



^ permalink raw reply	[flat|nested] 3+ messages in thread

* A new pleasure
  1993-02-21 16:19 rob
@ 1993-02-21 23:33 ` John Mackin
  1993-02-22  2:17 ` David Hogan
  1 sibling, 0 replies; 3+ messages in thread
From: John Mackin @ 1993-02-21 23:33 UTC (permalink / raw)
  To: Sam Fans

    	x s2/ +/ /g

Hey thanks a lot.  I had never thought before of combining s's number
modifier with its g modifier.  I will now though.

OK,
John.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* (no subject)
  1993-02-21 16:19 rob
  1993-02-21 23:33 ` A new pleasure John Mackin
@ 1993-02-22  2:17 ` David Hogan
  1 sibling, 0 replies; 3+ messages in thread
From: David Hogan @ 1993-02-22  2:17 UTC (permalink / raw)
  To: sam-fans

> From:	rob@research.att.com

> 	x s2/ +/ /g

I don't want to be a party pooper, but this doesn't work if there
is a line which doesn't start with whitespace at all.

How about:

y/^ +/ x/ +/ c/ /



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1993-02-22  2:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1993-02-21 16:19 rob
1993-02-21 23:33 ` A new pleasure John Mackin
1993-02-22  2:17 ` David Hogan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).