The text-parsing tag has no wiki summary.
3
votes
5answers
1k views
How to split a text file into multiple text files
I have a text file called entry.txt that contains the following:
[ entry1 ]
1239 1240 1242 1391 1392 1394 1486 1487 1489 1600
1601 1603 1657 1658 1660 2075 2076 2078 2322 2323
2325 2740 2741 2743 ...
0
votes
1answer
598 views
Parsing out specific URLs from local html file
I want to parse out certain URLs from a saved html-file with a simple bash-script/command, so i can download them via wget laters.
What i have so far is:
awk 'BEGIN{ RS="<a *href *= *\""} NR>2 ...
2
votes
1answer
417 views
Deleting music file duplicates but retaining iTunes metadata
Back when I first imported the majority of my iTunes library I had the copy files to iTunes Media folder when adding to library option checked, so basically my whole music library was duplicated on ...
5
votes
2answers
2k views
Powershell: Get inital character string from file name and create directory from string, then move files
I have a folder with the following file names:
00150005D201110172338427995.vpf
00150005D201110180005318058.vpf
00150013D201110180014448082.vpf
00150013D201110180022268098.vpf
...
2
votes
3answers
523 views
Excel notation that gives FIND the ability to look for multiple strings
So I've been working with a spreadsheet that has a list of schools names. I pull data from this spreadsheet to create a roster that limits the size of text in each cell. In order to get the school ...
3
votes
2answers
382 views
Match exactly (and only) the pattern I specify in a grep command
Usually, grep searches for all lines containing a match for the pattern/parameter I specify.
I would like to match just the pattern (i.e. not the whole line).
So, if a file contains the lines:
We ...