[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev HP-UX sed Problem Solution
From: |
pg |
Subject: |
Re: lynx-dev HP-UX sed Problem Solution |
Date: |
Wed, 23 Dec 1998 09:34:34 -0700 (MST) |
In a recent note, address@hidden said:
> Date: Mon, 21 Dec 1998 23:02:47 -0500 (EST)
>
> I did look at it - but it uses functions, which puts it outside the porting
> limits. (Maybe if restructured, but I haven't done that).
>
I can fix this. Which approach do you like? Alternatives that come
to mind, in order of decreasing attractiveness:
1) Replicate the function code in the merely two places it's called.
2) Make the function a separate script.
3) Assign the body of the function to a variable and play hackish "eval" games.
What brain-dead shell doesn't support functions, anyway?
-- gil