in the tcsh 6.10.00 WishList file:

> *  New idea.
>         Lots of people seem to like the idea to be able to do sed type
>         operations on shell variables. Maybe we can extend the syntax
>         of the variable editing to understand string operations.
>         So I would like to be able to use:
>         > set a="this is a STRING"
>         > echo $a:[3-]
>         is is a STRING
>         > echo $a:[#]
>         16
>         > echo $a:[6-7]
>         is
>         > echo $a:[-2]
>         ng
>         > echo $a:[-20]
>         Subscript out of bounds.
>         > echo $a:[2-20]
>         Subscript out of bounds.
>         > echo $a:[1-1]:u$a:[2-].
>         This is a string.





-- 
                           David Nicol 816.235.1187 [EMAIL PROTECTED]
"I must report that I am in the fortunate position of having logged 
and categorized my nightmares over the past 37 years."
                                                   -- Bob Dehnhardt

Reply via email to