Live data from Hacker News

Show HN: Swiss Army Knife for Mac OS X

github.com

11–20 of 67 posts

Re: Show HN: Swiss Army Knife for Mac OS X

#11
post #4

Thanks for crafting and sharing this. I must admit to flagging this particular submission, as it is the fifth time it has been posted in as many days, with no other contributions (whether of comments or stories) to speak of. Forgive me if this seems harsh, but just to keep submitting the same item over and over without any other activity (including responding to comments made in the prior submissions) does not seem i…

I read HN every day and this is the first time I've seen this submission...

Re: Show HN: Swiss Army Knife for Mac OS X

#12
post #4

Thanks for crafting and sharing this. I must admit to flagging this particular submission, as it is the fifth time it has been posted in as many days, with no other contributions (whether of comments or stories) to speak of. Forgive me if this seems harsh, but just to keep submitting the same item over and over without any other activity (including responding to comments made in the prior submissions) does not seem i…

I read HN every day and this is the first time I've seen this submission...

Same here.

Re: Show HN: Swiss Army Knife for Mac OS X

#13

The last one of these that popped up on HN replaced a lot of the common UNIX commands, and a lot of people here rightly asked 'why would I run "mac tar:extract" when I could just run "tar xf"?' This one seems to get the balance a lot more right, with a lot of things that the average OS X admin wouldn't know off the top of their head. - 'm lock': That's a lot better than whichever arcane key combination does it by def…

My first impression was _gaah!_ just RTFM! But after calming down, I realized this is not significantly different from a command line version of TinkerTool. Not necessarily something I would use, but I could see an audience for it.

Re: Show HN: Swiss Army Knife for Mac OS X

#14
post #10

I"m curious about why it's written in sh, given that it's OS X only and OS X includes by default many languages significantly less crappy than Borne Shell.

Presumably because most of the commands are just shortcuts for other shell commands. Probably the right tool for the job in this case.

Re: Show HN: Swiss Army Knife for Mac OS X

#15
post #10

I"m curious about why it's written in sh, given that it's OS X only and OS X includes by default many languages significantly less crappy than Borne Shell.

Someone would ask why not write it in sh, if it was written in Python, Ruby, Perl, or Tcl. I prefer stuff like this in sh.

Re: Show HN: Swiss Army Knife for Mac OS X

#16
post #14
post #10

I"m curious about why it's written in sh, given that it's OS X only and OS X includes by default many languages significantly less crappy than Borne Shell.

Presumably because most of the commands are just shortcuts for other shell commands. Probably the right tool for the job in this case.

Yeah, fair enough. Not everybody hates the shell as much as I do.

Re: Show HN: Swiss Army Knife for Mac OS X

#17
post #4

Thanks for crafting and sharing this. I must admit to flagging this particular submission, as it is the fifth time it has been posted in as many days, with no other contributions (whether of comments or stories) to speak of. Forgive me if this seems harsh, but just to keep submitting the same item over and over without any other activity (including responding to comments made in the prior submissions) does not seem i…

I read HN every day and this is the first time I've seen this submission...

Here are the previous submissions:

https://news.ycombinator.com/submitted?id=rgcr

Re: Show HN: Swiss Army Knife for Mac OS X

#18
post #5
post #2

Not sure I like the install method. I'm nervous of anything that asks me to pipe curl to shell.

the best way to get rid off the discomfort is to first check the shell script: curl -fsSL https://raw.githubusercontent.com/rgcr/m-cli/master/install.... | pbcopy Then you can paste it in a text editor and if it is not too long you can verify the script. And as this one is on github you can take a look directly.

Just pipe the script to a file so you can read it without having to copy-paste. :)

curl -fsSL https://raw.githubusercontent.com/rgcr/m-cli/master/install..... > install.sh

Re: Show HN: Swiss Army Knife for Mac OS X

#19
post #15
post #10

I"m curious about why it's written in sh, given that it's OS X only and OS X includes by default many languages significantly less crappy than Borne Shell.

Someone would ask why not write it in sh, if it was written in Python, Ruby, Perl, or Tcl. I prefer stuff like this in sh.

I like to challenge myself to write little things like this as shell-scripts, too. But I am surprised they didn't at least choose use Bash instead of Bourne shell.

Re: Show HN: Swiss Army Knife for Mac OS X

#20
I like how each function is contained in an individual plugin file. I can install (create a local script) which plugins I want without needing to install them all. Even if you do not want to install any of the code, it shows you the command line needed in OS X.

The volume plugin has a more fine-grained control for adjusting the volume. The keyboard based function keys will increase/decrease the volume by 6/7. Now I can increase by smaller increments. Excellent.

Post reply on HN