From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] [plan9mod] Re: /mnt/acme empty
Date: Wed, 10 Sep 2008 08:15:45 -0400 [thread overview]
Message-ID: <c00435650eca13b2d538b5b40043aa0b@quanstro.net> (raw)
In-Reply-To: <df49a7370809100306u589d4c49l6d0acd9c2c7bd006@mail.gmail.com>
> is there a reason you can't just execute "|tab -n4" ?
> (perhaps i've misunderstood the script - i haven't tried it)
>
> slight digression: i have two scripts, called a+ and a-, that
> do indentation and un-indentation, as follows:
>
> % cat /bin/a+
> #!/bin/rc
> if(~ $#* 0){
> * = ' ' # tab
> }
> sed 's☺^☺'^$1^☺
> % cat /bin/a-
> #!/bin/rc
> if(~ $#* 0){
> * = ' '
> }
> sed 's☺^'^$1^'☺☺'
alternatively from acme,
Edit s:^: :g
or
Edit s:^ ::g
- erik
next prev parent reply other threads:[~2008-09-10 12:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-10 8:48 prem
2008-09-10 10:06 ` roger peppe
2008-09-10 12:15 ` erik quanstrom [this message]
2008-09-10 17:34 ` roger peppe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c00435650eca13b2d538b5b40043aa0b@quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).