The file is sent via stdin ( < file.txt, see above) to a Perl script that works similarly to the one above, but this time it also makes sure each line contains the string potato: ( /potato:/ is a regular expression that matches if the current line contains potato:, and, if it does ( &), then proceeds to apply the regular expression described above and prints the result). Ten Years After - A Space In Time (AFZ 112 24K Gold Remaster) (1971/2011) FLAC. Surface noise will not overpower the music. Media Condition: Media: Very Good (VG) Noticeable groove wear and light scratches. 2011 CD Audio Fidelity / AFZ 112 A Space in Time 33 rpm, Bonus DVD, Bonus Tracks. Ten Years After: Type: Album: Released: 1973: RYM Rating. Released in 1973 on Columbia (catalog no.
Ten years after a space in time afz 112 flac Pc#
Or grep 'potato:' file.txt | awk '' < file.txt Ten Years After - A Space In Time (LP, Album, RE, Pit) Label: Columbia, Columbia Cat: PC 30801, 30801. A Space in Time, an Album by Ten Years After. *) from the beginning of the line ( ^) until the last occurrence of the sequence : (colon followed by space) with the empty string ( s/.// - substitute the first part with the second part, which is empty).įor each line that contains potato:, cut will split the line into multiple fields delimited by space ( -d\ - d = delimiter, \ = escaped space character, something like -d" " would have also worked) and print the second field of each such line ( -f2). Grep looks for any line that contains the string potato:, then, for each of these lines, sed replaces ( s/// - substitute) any character (. Grep 'potato:' file.txt | sed 's/^.*: //' AFZ 112: Gold: Ten Years After: A Space In Time : Audio Fidelity: AFZ 142: Gold: Ten Years After: Rock And Roll Music To The World : Audio Fidelity: AFZ 178: SACD.