🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Drazen Borkovic Sat, 13 Jan 1990 02:19
bash 1.05.2 sourceing bug
#1137
Author: Drazen Borkovic
Date: Sat, 13 Jan 1990 02:19
28 lines
817 bytes
This is bash ver 1.05.2 on Sparcstation 1, SUNOS 4.0.3.

Compiled with sun cc.


When sourceing a file, bash doesn't set a variable.

SCRIPT:

!91 @ echo $BASH_VERSION
1.05.2
!92 @ echo $HOSTTYPE
SUN4
!93 @ cat ./J1
declare -rx a5=5
!94 @ unset a5
!95 @ echo $a5
a5: unbound variable
!96 @ echo $-
umo
!97 @ . ./J1
!98 @ echo $a5
a5: unbound variable
!99 @ set | egrep a5
!100 @

ENDSCRIPT
bash 1.05.2 sourceing bug
#1138
Author: Brian Fox
Date: Sat, 13 Jan 1990 02:32
37 lines
1221 bytes
   Date: Fri, 12 Jan 90 18:19:58 PST
   From: drazen@vlsi.caltech.edu (Drazen Borkovic)


   This is bash ver 1.05.2 on Sparcstation 1, SUNOS 4.0.3.

   Compiled with sun cc.


   When sourceing a file, bash doesn't set a variable.

   SCRIPT:

   !91 @ echo $BASH_VERSION
   1.05.2
   !92 @ echo $HOSTTYPE
   SUN4
   !93 @ cat ./J1
   declare -rx a5=5
   !94 @ unset a5
   !95 @ echo $a5
   a5: unbound variable
   !96 @ echo $-
   umo
   !97 @ . ./J1
   !98 @ echo $a5
   a5: unbound variable
   !99 @ set | egrep a5
   !100 @

   ENDSCRIPT

I don't know what you are talking about.  I haven't release 1.05 yet so
you couldn't possibly have a copy, let alone report a bug about it.

Brian
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads