-
-
Save wwalker/dc1c0f4ba46dbc5be0fde83b33a39d66 to your computer and use it in GitHub Desktop.
awk
This file contains hidden or 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
2020-06-06 23:54:29 - wwalker@plutonium:~/tmp/jwash ✓ $ awk 'BEGIN{FS=OFS="2020.04.05|"}{if (NR == 1) {print "date|"$0} else {print value OFS $0}}' input | |
date|Number|Title|URL|Type|Genre | |
2020.04.05|70000000|14 Blades|https://www.netflix.com/title/70130142|Movies|Action & Adventure | |
2020.04.05|70000000|2012|https://www.netflix.com/title/70108779|Movies|Action & Adventure | |
2020.04.05|80000000|24 Hours to Live|https://www.netflix.com/title/80208951|Movies|Action & Adventure | |
2020.04.05|80000000|25 Kille|https://www.netflix.com/title/80137461|Movies|Action & Adventure | |
2020.04.05|81000000|5 Cowok Jagoan|https://www.netflix.com/title/81037984|Movies|Action & Adventure | |
2020.04.05|80000000|6 Days|https://www.netflix.com/title/80178280|Movies|Action & Adventure | |
2020.04.05|81000000|6 Underground|https://www.netflix.com/title/81001887|Movies|Action & Adventure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment