Re: PSUtils-p17

2005-06-12 Thread Archaic
On Sun, Jun 12, 2005 at 07:05:54PM -0500, David Jensen wrote:
> 
> Randy doesn't see it as improved and I agree except for sed delimiter:
> I propose this change.
> cat Makefile.unix | sed -e 's@/usr/local@/[EMAIL PROTECTED]' > Makefile &&

If you are going to change it anyway, then there is no reason to keep
the cat in there. If the server was up, I'd point you to the "Useless
use of cat Awards". :)

-- 
Archaic

Want control, education, and security from your operating system?
Hardened Linux From Scratch
http://www.linuxfromscratch.org/hlfs

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: PSUtils-p17

2005-06-12 Thread David Jensen

Archaic wrote:


On Sun, Jun 12, 2005 at 07:05:54PM -0500, David Jensen wrote:
 


Randy doesn't see it as improved and I agree except for sed delimiter:
I propose this change.
cat Makefile.unix | sed -e 's@/usr/local@/[EMAIL PROTECTED]' > Makefile &&
   



If you are going to change it anyway, then there is no reason to keep
the cat in there. If the server was up, I'd point you to the "Useless
use of cat Awards". :)

 


Well, Hey.  this works:
sed -e 's@/usr/local@/[EMAIL PROTECTED]' Makefile.unix > Makefile
do you have a shorter, better?

--
David Jensen

--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: PSUtils-p17

2005-06-12 Thread Bruce Dubbs
David Jensen wrote:

> Well, Hey.  this works:
> sed -e 's@/usr/local@/[EMAIL PROTECTED]' Makefile.unix > Makefile
> do you have a shorter, better?

I'm in the process of updating ispell right now and that is the
structure I am using.  I personally like colons instead of at signs, but
showing the users different options is good too.

  -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: PSUtils-p17

2005-06-12 Thread David Jensen

Bruce Dubbs wrote:


I'm in the process of updating ispell right now and that is the
structure I am using.  I personally like colons instead of at signs, but
showing the users different options is good too.

 


I'm going to commit it. It is simpler now thanks to Archaic's clue bat.

--
David Jensen

--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: PSUtils-p17

2005-06-12 Thread Jeremy Huntwork

Bruce Dubbs wrote:

David Jensen wrote:



Well, Hey.  this works:
sed -e 's@/usr/local@/[EMAIL PROTECTED]' Makefile.unix > Makefile
do you have a shorter, better?



I'm in the process of updating ispell right now and that is the
structure I am using.  I personally like colons instead of at signs, but
showing the users different options is good too.


sed -e 'sh/usr/localh/usrhg'

hehe :D

--
JH
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: PSUtils-p17

2005-06-12 Thread Jeremy Huntwork

David Jensen wrote:

Well, Hey.  this works:
sed -e 's@/usr/local@/[EMAIL PROTECTED]' Makefile.unix > Makefile
do you have a shorter, better?


BTW, perhaps I need a cluebat thrown here, but is the '-e' even 
necessary in this case?  Is there something wrong with:


sed 's@/usr/local@/[EMAIL PROTECTED]' Makefile.unix > Makefile

--
JH
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: PSUtils-p17

2005-06-12 Thread David Jensen

Jeremy Huntwork wrote:


David Jensen wrote:


Well, Hey.  this works:
sed -e 's@/usr/local@/[EMAIL PROTECTED]' Makefile.unix > Makefile
do you have a shorter, better?



BTW, perhaps I need a cluebat thrown here, but is the '-e' even 
necessary in this case?  Is there something wrong with:


sed 's@/usr/local@/[EMAIL PROTECTED]' Makefile.unix > Makefile

--
JH


You are right.  Works good! :-)
I'll fix it later.

--
David Jensen

--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page