Jpp
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
examples
JSystem
JProcess.sh
Go to the documentation of this file.
1
#!/bin/zsh
2
#
3
# \author mdejong
4
#
5
6
version
=1.0
7
script=${0##*/}
8
9
# ------------------------------------------------------------------------------------------
10
#
11
# Utility script to test JProcess
12
#
13
# ------------------------------------------------------------------------------------------
14
15
if
[ -z $JPP_DIR ];
then
16
echo
"Variable JPP_DIR undefined."
17
exit
18
fi
19
20
source $JPP_DIR/setenv.sh $JPP_DIR
21
22
if
( do_usage $* );
then
23
usage
"$script"
24
fi
25
26
27
if
(( 1 ));
then
28
29
echo
"Test of Linux command ls -l"
30
31
JProcess -c
"ls -l"
32
33
fi
34
35
if
(( 1 ));
then
36
37
echo
"Test string reversed by master (hit <return> to continue)."
38
39
JProcess -c
"JEcho"
-rC
40
41
fi
42
43
44
if
(( 1 ));
then
45
46
echo
"Test string reversed by client (hit <return> to continue)."
47
48
JProcess -c
"JEcho -r"
-
C
49
50
fi
51
52
if
(( 1 ));
then
53
54
echo
"Test string reversed by master and client (hit <return> to continue)."
55
56
JProcess -c
"JEcho -r"
-rC
57
58
fi
59
exit
exit
Definition:
JPizza.sh:36
echo
then echo
Definition:
JDOMDAQDriver.sh:56
usage
* usage
Definition:
JLigier-local.sh:33
then
then
Definition:
examples/JDataFilter/JDataFilter.sh:87
JTOOLS::C
static const double C
Speed of light in vacuum [m/ns].
Definition:
JConstants.hh:22
version
version
Definition:
JCalibratePMT.sh:7
Generated by
1.8.5