Re: /etc/profile.d
Raul Miller <moth@debian.org> writes:
> On Mon, Oct 25, 1999 at 06:16:49PM +0200, Rene H. Larsen wrote:
> > The way that is done by default in
> > Debian (please correct me if this is no longer the case) is by this
> > segment of code:
> >
> > if [ -f /etc/environment ]; then
> > . /etc/environment
> > fi
>
> Looking at bash 2.02.1-1.8, there's no such thing in /etc/profile.
>
> Personally, my /etc/profile includes the following:
>
> set -a
> . /etc/environment
> set +a
OK, this is much nicer than my solution, I didn't know about "set -a".
I'm pretty sure the /etc/profile shipped with the slink version of
bash didn't include this, however. Since this has obviously been
taken care of, please disregard my original posting.
--
#!/usr/bin/perl -w
for(0..12){$b[$_]="|".($_==6?"-":" ")x78}for(0..78){substr($b[-
(sin($_*3.1415/22)-1)*6.499],$_,1)="*"}print join "\n",@b,"";
Reply to: