blob: c3307cd6fb2a2e42c6cb575e13486c63df63e856 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# StreamEdit script to find a GSSLibrary fragment in a derez output and
# create an alias to it
# If a line matches "/* [number] */", it's the first line of a cfrg array element.
# copy the next 11 lines, and if the last one matches "GSSLibrary", print them out with
# a different fragment name
¥
Print "#include ¶"CodeFragments.r¶""
/¶/¶* ¶[[0-9]*¶] ¶*¶//
Set FragEntry ""
/GSSLibrary/
Print "¶t¶t¶"MIT Kerberos¥GSSLib¶",¶t¶t"
Print FragEntry
/K5Library/
Print "¶t¶t¶"MIT Kerberos¥Kerberos5Lib¶",¶t¶t"
Print FragEntry
/Å/
Set -a FragEntry .
Set -a FragEntry "¶n"
|