make examples executable from (Linux) command line

This commit is contained in:
2018-06-14 11:53:26 +02:00
parent 4e290413d1
commit a3d6e9d908
5 changed files with 20 additions and 9 deletions

6
streamApp/regexp.cmd Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/bin/sh
exec O.$EPICS_HOST_ARCH/streamApp $0
dbLoadDatabase "O.Common/streamApp.dbd"
streamApp_registerRecordDeviceDriver
@ -7,4 +9,6 @@ drvAsynIPPortConfigure web epics.web.psi.ch:80 0 1
dbLoadRecords regexp.db
iocInit
# var streamDebug 1
#var streamDebug 1
dbgf DZ:regexp