simple script question

Joel Hammer Joel
Mon May 17 11:37:21 PDT 2004


This is fairly straight forward:

cat file | sed  's/\/usr\/local/\/usr/g'  

Joel


On Sun, Sep 08, 2002 at 04:30:28PM +0800, m.w.chang wrote:
> I want to change the "/usr/local" in checkinstall script to "/usr".
> how to do it with sed?
> 
> and until checkinstall's owner offer a variable PREIFX to adjust, I 
> guess a short script is the long term solution.
> 
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users


More information about the Linux-users mailing list