Created
February 11, 2023 22:37
-
-
Save karl82/13d6ea7cf4ea86b1eea82e8f65540b6b to your computer and use it in GitHub Desktop.
Extract invoice IDs from Apple Payments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gsed -n -e 's|.*Display.OrderID">\(.*\)</span.*|\1|p' \ | |
-e 's|.*RAP2.PurchaseList.PLIDetails.Display.Title.*">\(.*\)</div></l.*|\1|p' \ | |
-e 's|.*"RAP2.PurchaseList.PLIDetails.Display.Publisher.*>\(.*\)</div.*|\1|p' \ | |
-e 's|.*pli-media-type.*>\(.*\)</div.*|\1|p' \ | |
-e 's|.*PurchaseHeader.Display.Date.*>\(.*\)</span> .*|\1|p' < page.html \ | |
|pr -5 -a -t -s';' |mvim - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment