daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Nov 9th, 2018 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ### Howto capture regexp group and print it
  2. ll -1
  3. em110msp_1.0.13-10_release-unsigned.apk
  4. em110msp_1.0.13-10_release-unsigned.json
  5.  
  6. # daniel@mcs-Ubuntu:
  7. ls -1 | pcregrep -o2 "(.*)_(.*)_(.*)(.apk|.pom|.json)$"
  8. 1.0.13-10
  9. 1.0.13-10
  10. ### -o, --only-matching=n        show only the part (#group) of the line that matched
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top