title: Put the knife down and take a green herb, dude. |
descrip: One feller's views on the state of everyday computer science & its application (and now, OTHER STUFF) who isn't rich enough to shell out for www.myfreakinfirst-andlast-name.com Using 89% of the same design the blog had in 2001. |
FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike, always wear white. As an Amazon Associate, I earn from qualifying purchases. Affiliate links in green. |
|
x
MarkUpDown is the best Markdown editor for professionals on Windows 10. It includes two-pane live preview, in-app uploads to imgur for image hosting, and MultiMarkdown table support. Features you won't find anywhere else include...
You've wasted more than $15 of your time looking for a great Markdown editor. Stop looking. MarkUpDown is the app you're looking for. Learn more or head over to the 'Store now! |
|
Thursday, May 27, 2021 | |
I wanted to diff two files on my Mac. I can do this in BBEdit, but itโs not super easy. You can open one, then the other, then highlight both and diff, or chโฆ oh, you get it. But thereโs a command line version of BBEditโs diff tool,
But how do you get the daggum full path to the files in the Finder? Seems like it might've used to do this by default, but the Finder can be set to show the path to the file you've got selected in a footer.
And here's the extra trick: Right click the file in that bar and select Copy [filename] as Pathname and POOF, you've got the full path in your clipboard. Now look, if you're comparing two files in the terminal, just type and tab-complete, no Finder funny stuff. I got it. But if you're comparing two files that are reasonably far apart, well, this is pretty fast. So that's cool, but there's gotta be an easier way to set up a diff that ignores whitespace than this. Near real-time update: There is.
(Would've been nice if there was a roll-up,
(Wonder if that includes tabs? Preliminary results suggest it does not. Tabs will still be shown as diffs. I owe Rich one fewer beer.) It'll likely never replace VIm as the "worst case text editing fallback" for me -- you know, when you're on a new box, suddenly have to code, and want to download one tool to do it quickly no matter what file type it is -- but wow, BBEdit has been a nice companion for almost thirty years now. (Yes, with about 99.44% certainty, I really did use it the year it was released. vi was not as nice a companion for the first few years of our relationship, and I had a number of pico & nano dalliances before settling down.) Labels: BBEdit, macOS, noteToSelf posted by ruffin at 5/27/2021 03:44:00 PM |
|
| |
All posts can be accessed here: Just the last year o' posts: |
||||||||||||||||||||||
|