2
votes
3answers
97 views

How to sort a file with string lines by the number of a specific symbol in the line?

Say I have a large plaintext file with a string on every line. The string only consists of alphabetical characters, except for underscores _, which divide the strings in syllables. I want to sort ...
0
votes
1answer
408 views

Regex editor application for Mac

I'm working with regular expressions on Mac and I'm using: http://reggyapp.com/ But it does not show the exact matches numbered. I'm looking for other applications. Something similar to regex ...
1
vote
3answers
1k views

Replace umlauts with regular expressions

I would like to sync several folders on my local Mac with a remote server via SFTP. As the existing umlauts appear to be problematic for my syncing software (Deltawalker), I am looking for a way ro ...
9
votes
4answers
5k views

Newlines in sed on Mac OS X

I find that \n doesn't work in sed under Mac OS X. Specifically, say I want to break the words separated by a single space into lines: # input foo bar I use, echo "foo bar" | sed 's/ /\n/' But ...
0
votes
1answer
293 views

Exclude filetypes in a Textmate project

I know in TextMate I can go to preferences -> advanced -> folder references and play with the regex pattern to remove certain types of files and folders by default. I heard that if you have an ...
3
votes
1answer
1k views

remove numbers from filenames in Mac OS X

I have a directory full of files with names in this format (with numbers as the start of each filename): 102_file.txt 104_list.txt 242_another_file.txt I would like to rename them as follows (i.e. ...