File: extract_majmin_version.sh

package info (click to toggle)
postgis 3.5.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 70,052 kB
  • sloc: ansic: 162,204; sql: 93,950; xml: 53,121; cpp: 12,646; perl: 5,658; sh: 5,369; makefile: 3,434; python: 1,205; yacc: 447; lex: 151; pascal: 58
file content (6 lines) | stat: -rwxr-xr-x 97 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
#!/bin/sh

grep '^POSTGIS_.*OR' Version.config |
  cut -d= -f2 |
  tr '\n' '.' |
  sed 's/\.$//'