I have a large file of plain text on Mac OSX that contains many http(s) URLs. For example:  blah blah https://www.stackexchange.com blah https://www.stackoverflow.com blah blah https://www.google.com blah   What's the easiest way to view that text in a way that I can click on each link and open it in a web browser?  I would prefer a solution that doesn't require uploading the text file to the Internet.
122865
I'm copying a slab of plain text that contains URLs into an RTF file in TextEdit, which I am hoping to automatically, (as there are a lot of them in the text), 'linkify' into rich text hyperlinks - make them clickable, and underlined in blue or as per the default appearance.  In WordPad on Windows, if you paste plain text, WordPad will automatically linkify any links, but TextEdit, Word 2011, and Pages on the Mac all will not.  I've also tried to export the text to PDF in TextEdit, Word 11 and Pages and fiddled around with Tools in Acrobat Pro itself - all to no avail.  An AppleScript would be fun, but (even if hooked into FastScripts), still not as quick or elegant as Windows' WordPad's instant and automatic linkification of URLs upon insertion into a document.  Is there something this elegant in OS X?
578
I need to be able to open a document using its default application in Windows and Mac OS. Basically, I want to do the same thing that happens when you double-click on the document icon in Explorer or Finder. What is the best way to do this in Python?
117758
When I type a URL in angle brackets, such as &lt;;, in a comment, the URL is not detected and linked.  Supporting this would allow links to be used more naturally in the flow of text in a comment.  This notation is recommended for embedding URLs in running text by ; quotes are also recommended (I do not know if quotes work or not).
95602
How can I add an application to the Open With menu (shown after right-clicking) for a given file type, without making that file always open with that application?  In this specific instance, I'd like to the option to open an Web site location (.URL) file with TextEdit, while still defaulting to Safari.    I'm running OS 10.7.4.
49594
I think it would be good to have a way for the user to view the target URL of a link before following it. I'm pretty sure that I'm not the only one who dislikes blind-clicking -tapping links.   When I use SE in the mobile browser, I routinely long-press links to find out where they go before following them. I wish I could do the same thing in the app, with the same or a similar method.  (It's important that this won't conflict with text selection, since you can't long-press on links to select them now anyway.)
98421
I've heard it is possible to add tags to a file's meta data in OS X, and have Spotlight search through such tags.   In a nutshell, how would one access this feature in Finder &ndash; not Spotlight (Command+Space) &ndash; but the adding of tags themselves? Where are these tags stored?  Do they go in .DS_Store (I tend to delete those!) or elsewhere in the filesystem? Does this tagging mechanism work on removable drives?  What are the requirements? Does this tagging mechanism work over a network share?  I have some Windows SMB network shares at home that I frequently store files on.  Would it work on those or is another configuration required? Aside from Spotlight, are there any command-line tools for searching through or accessing the tag data for files?   Thank you!
96086
How can I 'cat' a man page like I would 'cat' a file to get just a dump of the contents?
8492
I have seen links in servers that can send you to a page in a browser, is there any way to replicate this with command blocks?  I don't mean command links, I mean web pages.
29004
I need to copy text from vim to web browser since I'm not able to use gedit as I'm opening  an sql file. How do I get this done?
97626
I would like to get all files from the web page below using curl:  I tried: curl http://www.ime.usp.br/~coelho/mac0122-2013/ep2/esqueleto/ It returned a bunch of lines in the terminal, but didn't get any file.
96721
I have a long text and I want to create a link within the document to a particular paragraph (for example write something like "as shown here" where clicking on "here" will take the reader to that paragraph).   Is this possible to do?
90788
In the default file browser of Mac OS X, pressing space will preview the file in question.  Is there already something similar that I haven't found, or is there a way to add the functionality to Ubuntu?
29078
One tip or trick per answer.  My favorite is   open .   Opens the folder you're currently browsing in Finder. You can also pass URLs, images, documents or else to open.  If you specify a program name with -a you can pass the URL, image, document or folder to that program instead, e.g. open -a Preview image.png, overriding the default program set for the filetype.  Please don't post duplicates. Search in the question like this: inquestion:this ls -l  Mac OS X specific answers only.
96723
I'm trying to scrape data from a website for research.  The urls are nicely organized in an example.com/x format, with x as an ascending number and all of the pages are structured in the same way. I just need to grab certain headings and a few numbers which are always in the same locations. I'll then need to get this data into structured form for analysis in Excel.  I have used wget before to download pages, but I can't figure out how to grab specific lines of text.  Excel has a feature to grab data from the web (Data->From Web) but from what I can see it only allows me to download tables. Unfortunately, the data I need is not in tables.
64703
It seems like the methods of Ruby's Net::HTTP are all or nothing when it comes to reading the body of a web page. How can I read, say, the just the first 100 bytes of the body?   I am trying to read from a content server that returns a short error message in the body of the response if the file requested isn't available. I need to read enough of the body to determine whether the file is there. The files are huge, so I don't want to get the whole body just to check if the file is available.
100063
I need to stream a file to the Response for saving on the end user's machine.  The file is plain text, so what content type can I use to prevent the text being displayed in the browser?
95990
I am looking for a software to handle archives on OS X. I know there are many of them quite easy to find, but none seems to have the most basic feature that most Windows archive applications have: browsing!  I mean, most OS X unarchivers, when they open an archive, they just unzip it... then ask you for target location in the best case.  What I want is something such as WinRAR or 7zip, which is basically an explorer (ie. Finder) that opens archives.  What I want is precisely this! I want to be able to browse any archive without extracting it, opening files directly from the archive and then be able to modify it so that the file is actually modified in the archive. I want to be able to drag'n'drop a file to and from an archive to extract/add it.  Those features are so useful when modifying directly JAR files contents, JAR files MANIFESTs, war webapps conf-files and so on...  Thank you.