OT: Strange output of shell"man xyz" on OS X

Klaus Major klaus at major-k.de
Wed May 31 07:16:38 EDT 2006


Hi Alex,

> Klaus Major wrote:
>
>> Hi Alex,
>>> Depends how nicely you need it.
>> VERY nice :-)
>>> Easy: put numtochar(8) into BS
>>> put replacetext(tData, "."+BS, tNewdata)
>> I get an "Operators + : error in left operand"?
>>
> I can't believe that
> (a) I wrote this
> (b) I didn't spot it

:-)

> My excuse is I tested it on the Mac, and then typed the email on  
> the PC, so I didn't copy/paste it, plus I've been doing too much  
> Python and not enough Rev lately :-) - it should be
>
> put replacetext(tData, "."&BS, "") into tNewData
> i.e. & not +
>     replace it by empty string
>     store the result somewhere

Thank you very much!

Works fine now and is nice enough to display in a field :-)

GREP 
(1)                                                                 
GREP(1)


NAME
        grep, egrep, fgrep - print lines matching a pattern

SYNOPSIS
        grep [options] PATTERN [FILE...]
        grep [options] [-e PATTERN | -f FILE] [FILE...]

DESCRIPTION
        Grep  searches the named input FILEs (or standard input if no  
files are
        named, or the file name - is given) for lines containing a  
match to the
        given PATTERN.  By default, grep prints the matching lines.

        In addition, two variant programs egrep and fgrep are  
available.  Egrep
        is the same as grep -E.  Fgrep is the same as grep -F
....

> Alex Tweedly       http://www.tweedly.net

Best regards from germany

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the Use-livecode mailing list