Re: Fwd: Patch for full hostname in PS1

2014-08-02 Thread Renato Silva
Sorry for the attachments. Anyway, I have just cloned the git repository
[1] into GitHub [2] to make merging/modification easier.

[1] git://git.savannah.gnu.org/bash.git
[2] https://github.com/renatosilva/bash


2014-06-09 10:18 GMT-03:00 Eric Blake :

> On 06/08/2014 02:40 PM, Renato Silva wrote:
>
> >
> > Along with the patch I'm attaching the *nix build I used in my tests. The
> > patch is against current head [5]. I'm also attaching a sample program
> > "canonname" demonstrating the use of the new API (web [6], source code,
> > windows, *nix). Feedback is welcome. Thanks in advance.
>
> PLEASE don't ever send binary builds as attachments again.  Spamming the
> list with 2 copies of binary attachments, where each mail was
> individually close to 6 megabytes, consumes way too many resources both
> on the mail server and on individual subscribers behind bandwidth
> limits.  Sending the text patch (several kilobytes) is sufficient.
> Furthermore, your binary build is unlikely to run on anyone with a
> system configured differently than yours, while anyone can apply your
> patch and rebuild it to test the quality of your patch on their system.
>
> --
> Eric Blake   eblake redhat com+1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
>


Override an bash variable

2014-08-02 Thread Aaron Lewis
Hi,

I'm modifying bash source code and going to add some default variables:

But I only found "set_if_not", e.g
set_if_not ("EDITOR", "nano");

How can I override that variable if it exists?


-- 
Best Regards,
Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
Finger Print:   9F67 391B B770 8FF6 99DC  D92D 87F6 2602 1371 4D33