> 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


Reply via email to