File: t.pcre_extract

package info (click to toggle)
leafnode 1.11.7.rc1-10~lenny0
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,436 kB
  • ctags: 577
  • sloc: ansic: 10,637; sh: 4,107; xml: 650; makefile: 281; perl: 84; sed: 4
file content (3 lines) | stat: -rwxr-xr-x 92 bytes parent folder | download | duplicates (11)
1
2
3
#! /bin/sh

./pcre_extract 'xx<test>xx' '<(.*)>' 2 | grep 'substring #1: "test"' >/dev/null