this post was submitted on 28 Sep 2023
1 points (100.0% liked)

Linux

47900 readers
1022 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
1
modern unix (github.com)
submitted 1 year ago* (last edited 1 year ago) by folak@lemmy.world to c/linux@lemmy.ml
top 6 comments
sorted by: hot top controversial new old
[–] bundes_sheep@lemmy.one 0 points 1 year ago (1 children)

Are these built to handle pipes? If I bat a file and redirect it to a file, does it work as expected or does it add in the escape sequences for the colors, for example?

[–] PhictionalOne@feddit.de 0 points 1 year ago* (last edited 1 year ago)

bat foo | bar behaves like cat foo | bar same with > and such.

[–] starman@programming.dev 0 points 1 year ago* (last edited 1 year ago) (1 children)

Most of that stuff is MIT/Apache licensed unlike programs from GNU. Interesting.

[–] Schmeckinger@feddit.de 0 points 1 year ago

Probably because that's basically the default license rust projects use and a lot of this stuff is made in rust.

[–] jsdz@lemmy.ml 0 points 1 year ago (1 children)

"bat" seemed interesting, until I remembered that I'd just do a "git diff" if I wanted to see a diff. The rest do not strike me as substantially better than what they're trying to replace. Enjoy them all as you will, but I would recommend refraining from describing them as "modern unix" in the presence of any old-timers.

[–] Pantherina@feddit.de 0 points 1 year ago* (last edited 1 year ago)

Bat also adds lots of stuff to the output. Is there a clean print functionality without the extra numbers?

Edit: but with the parameters its great!