1
vote
4answers
66 views

Randomly shuffle rows in a large text file

I have a text file of ~1GB with about 6k rows (each row is very long) and I need to randomly shuffle its rows. Is it possible? Possibly with awk?
3
votes
1answer
221 views

Transpose words in Sublime Text 3

In Sublime Text 2, I'm able to transpose two words by placing the cursor on the space between them and pressing Ctrl+T. However, in Sublime Text 3 (build 3059 on OS X Mavericks), I get the default OS ...
0
votes
3answers
50 views

Mac-OSX Text Navigation

In the terminal I'm able to hit option+b to move back a word. In any GUI app I get an integral: ∫ I know most of the emacs motions so moving around would be a lot easier if I could use the ...
0
votes
2answers
196 views

JSON formatted text file makes CPU jump to 100%

I'm editing a JSON formatted text file in Mac OS X Mountain Lion (10.8.2) on a 2.3 GHz Intel Core i7 with 8 GB of RAM. The file is approx. 3 MB large so it's not very big. Anyhow this is making both ...
0
votes
3answers
521 views

Create a term-document matrix from files

I have a set of files from example001.txt to example100.txt. Each file contains a list of keywords from a superset (the superset is available if we want it). So example001.txt might contain apple ...
3
votes
2answers
942 views

How can I edit file permissions (e.g. make script files executable) from within Sublime Text 2?

When writing e.g. shell scripts, I want to change their permissions (primarily the executable permission) from within Sublime Text 2. How can I accomplish that?
0
votes
1answer
67 views

Is there way to add Language shortcuts in Mac OS X?

On iOS, I could add a language short cut easily in settings. Like gd stands for "have a good day". Is there a way of doing that on a Mac? I don't know if this is even possible since OS X doesn't ...
2
votes
6answers
5k views

How to delete all lines which contain a word with TextWrangler?

I have a giant file with thousands of lines, I want to delete only the lines which have the word "Foo" in them. How would I go about doing this? I'm on a Mac, so I could use some command line ...
1
vote
3answers
91 views

Mac & Google Docs: How to Home?

I'm dying at Mac OSX 10.5.8 + Firefox finding how to go to the beginning of the line in Google Docs I was cursed with too little intelligence to use this glorified OS. Would any one please guide me ...
0
votes
3answers
127 views

how can I use the ctl+arrow windows shortcut to navigate through each word in a text at Mac?

How can I use the Ctrl + Arrow windows shortcut to navigate through a text sting on a Mac?
2
votes
3answers
447 views

Where did the text of my .html file go in TextEdit on Mac OS X?

I recently created a .html file in TextEdit on my Mac (Mac OS X 10.5.8). I then opened that .html file in my browser and it showed the page I created just fine. I closed the .html file and TextEdit ...
0
votes
1answer
246 views

What is the name of the Mac OS X text editor that uses a green and yellow lotus flower icon?

I'm pretty sure there's a Mac text editor out there that uses a green and yellow lotus flower as it's icon but I cannot seem to remember the name. Can anyone help me out?
1
vote
1answer
260 views

Using Firefox's 'View Source' with BBEdit results in a blank file

I use Firefox for browsing and BBEdit for text editing. I want the 'View Source' command in Firefox to display the source code in BBEdit rather than in Firefox's own window. I have adjusted the ...
0
votes
1answer
631 views

Command-A doesn't select text in several Mac OS X text edit fields

I'm trying to make my Mac follow behavior I know it must have done in the past where, when one presses ⌘ + A, it will select all the text. The problem has started recently and I think it might be ...
4
votes
4answers
15k views

What is the closest thing to Windows notepad on the Mac?

What is the closest thing to Windows notepad on the Mac? I'm using Leopard.