Thread: problem with bb variables in Sac101.6

Started: 2013-08-22 17:21:54
Last activity: 2013-08-22 17:21:54
Topics: SAC Help
Igor
2013-08-22 17:21:54
Hi,

I have a problem with passing arguments and using the blackboard
variables in the version 101.6.
The code worked perfectly in the previous versions.
Is there a solution to this in the v. 101.6? Has the syntax changed?

Please see an example below. The v.101.6 gives me an error on "ls"
while the previous versions listed the files.


setbb wd ../20080903_1125
setbb path1 %wd%/data

cp %path1%/*.SAC .
cp: cannot stat `%path1%/*.SAC': No such file or directory

ls %path1%/
ls: cannot access %path1%/: No such file or directory

getbb path1
path1 = '../20080903_1125/data'

ls ../20080903_1125/data
STA1.SAC STA2.SAC STA3.SAC


Regards,
Igor

13:53:07 v.01697673