File: get-dbdabi-version.cpp

package info (click to toggle)
libdbi-perl 1.636-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,820 kB
  • ctags: 2,001
  • sloc: perl: 17,806; ansic: 604; makefile: 29; cpp: 4
file content (7 lines) | stat: -rw-r--r-- 200 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
// this script gets piped through cpp to sh
// cpp reads DBIXS.h and substitutes DBISTATE_VERSION, sh echoes it out
cat >/dev/null <<END-OF-DBI
#include "../DBIXS.h"
END-OF-DBI

echo DBISTATE_VERSION