On 09/05/2011 11:58 AM, Bruce Dubbs wrote:
> DJ Lucas wrote:
>> Taken from cross-lfs:
>>
>> sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' lib/config.h
>>
>>
>> Any reason not to do this in LFS?
> I have never seen the use of an editor in diffutils, but I learn new
> stuff all the time.
On 09/05/2011 11:58 AM, Bruce Dubbs wrote:
>
> I have never seen the use of an editor in diffutils, but I learn new
> stuff all the time. The only place DEFAULT_EDITOR_PROGRAM is in the
> code is sdiff.
>
> After some looking, I found Section 2.5.1 in the diffutils info page
> about 'ed' scripts.
DJ Lucas wrote:
> Taken from cross-lfs:
>
> sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' lib/config.h
>
>
> Any reason not to do this in LFS?
I have never seen the use of an editor in diffutils, but I learn new
stuff all the time. The only place DEFAULT_EDITOR_PROGRAM is in the
Taken from cross-lfs:
sed -i 's@\(^#define DEFAULT_EDITOR_PROGRAM \).*@\1"vi"@' lib/config.h
Any reason not to do this in LFS?
-- DJ Lucas
--
This message has been scanned for viruses and
dangerous content, and is believed to be clean.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-