Hello all,
I have been using /usr/local/bin/bash but now tring to get used to
/bin/sh.
In my .profile, I wrote;
PS1="$USER@`hostname`:`echo $PWD | perl -pe 's#^$ENV{HOME}#~#'`$ "
and this gives me the prompt of my favorite.
However, I don't want to use perl to set up PS1.
I think I should use sed instead but don't know how to do that.
Any suggestions?
--
Yutaka KAWASE <yutaka@jpnet.nu>