03-05-04 10:34 PM
Warren Block <wblock@wonkity.com> wrote:
> bernd <bernd@thebc.ch> wrote:
> Hint:
> echo "s/hammel/$HOME/"
You are not limited to using "/" as the delimiter. Warren's hint shows
why another delimiter may be useful at times. Bernd will have better
luck with:
echo "hammel=bammel" | sed -e "s:hammel:$HOME:"
(if there are no colons in "$HOME").
--
John Wingate Language serves three functions. One is to
johnww@worldpath.net communicate ideas, one is to conceal ideas, and
the third is to conceal the absence of ideas.
--Otto Jespersen
[ Post a follow-up to this message ]
|