☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
testsuite
/
parseok
/
macros05.stp
☽
☼
testsuite/parseok/macros05.stp
code
plain
raw
1
#! /bin/sh
2
3
# test interaction between conditionals and macro expansion
4
5
stap $@ -p1 - 1 2 3 4 5 <<'END'
6
7
@define foo %( %( $# >= 5 %? @5 %: "" %) %)
8
9
probe begin { printf("Hello, World %s!", @foo) }
10
11
END