Live data from Hacker News

Swiss File Knife – A Command Line Tools Collection

stahlworks.com

1–10 of 20 posts

Re: Swiss File Knife – A Command Line Tools Collection

#3

How this compares to busybox[1]? Additional functionality? I would rather stick to posix/unix commands than learn a new list of new functions [1]: https://www.busybox.net/

This seems to be cross-platform, while BusyBox is mostly Linux-only.

Re: Swiss File Knife – A Command Line Tools Collection

#4

How this compares to busybox[1]? Additional functionality? I would rather stick to posix/unix commands than learn a new list of new functions [1]: https://www.busybox.net/

Completely different beasts. Busybox is a tight, lightweight implementation of [a subset of] the Posix toolchain. This thing - also tight and lightweight - is a collection of commands primarily geared towards manipulation of file names and contents. Highly un-unixy (more like "do all sorts of things and do them well") but with clear, straightforward, non-arcane syntacs.

I had a pile of somewhat complex text transformations I needed to perform, and was getting headaches just contemplating the hodge-podge of cat and grep and find and awk and sed and regex and stackoverflow and kilometers of pipes I would be getting into, not being much of a wizard with such things, so went looking for something a bit less daunting. Found this, and within in an hour had a working script which I am fairly certain I will also be able to read and understand a year from now.

Re: Swiss File Knife – A Command Line Tools Collection

#7
post #6

Malware Browser Guard plugin for Brave is blocking this website by default.

There's nothing malwareish about the source and binaries package I downloaded, nor about the version from Arch AUR I'm actually running. Your Brave may be objecting to the absense of https. Mine only states the obvious "Not secure" in the address bar.

Re: Swiss File Knife – A Command Line Tools Collection

#8

How this compares to busybox[1]? Additional functionality? I would rather stick to posix/unix commands than learn a new list of new functions [1]: https://www.busybox.net/

This seems to be cross-platform, while BusyBox is mostly Linux-only.

"Mostly". I recall trying a BusyBox from FreeBSD ports. Seemed sorta like a gimmick. Not really needed.

Wikipedia confirms my memory.

https://en.wikipedia.org/wiki/BusyBox

Re: Swiss File Knife – A Command Line Tools Collection

#10
post #5

I've used the line ending tools (crlf-to-lf/addcrlf) once to fix up code written in an linux environment and stored with git to check into a SVN Windows style repo. Don't know if it was 'the' tool for the job, but worked out nicely and didn't take too long

dos2unix / unix2dos is often preinstalled and works as well
Post reply on HN