News for hackers. Stuff that matters.
Re:Moreutils – Unix tools that nobody thought to write (2012) by vram22 on Saturday August 22, 2020 @05:22PM (#24247354)
Some of the above can easily be written in C or Python or Ruby (and some of the simpler ones even in shell), at least for simple versions, maybe without all the frills of the originals.

And seq in Linux is like jot for sequential data, at least.

And from my blog: An Unix seq-like utility in Python: https://jugad2.blogspot.com/2017/01/an-unix-seq-like-utility...

Re:Moreutils – Unix tools that nobody thought to write (2012) by kps on Saturday August 22, 2020 @06:41PM (#24247860)
Yes, they're generally available in some form (now generally including the ‘originals’ now that V8–V10 have been published). And they're all very simple, which is the whole point of Unix tools.

I've found I'm using the `put`/`take` pair, for splitting a pipeline across shells, more again in the WFH era where I often have multiple ssh sessions into a machine, when I would probably have used the clipboard in a GUI session. Also useful for things like seeing stderr from different parts of a pipeline in different windows. `put` is just `cat >>$(mkpipe "$1")` and `take` is `cat $(mkpipe "$1")` where `mkpipe` is

    fifo="${TMPDIR:-/tmp}/fifo-$(id -u)-$1}"
    test -p "$fifo" || mkfifo "$fifo"
    echo "$fifo"
Re:Moreutils – Unix tools that nobody thought to write (2012) by vram22 on Wednesday September 02, 2020 @04:37PM (#24357841)
>And they're all very simple, which is the whole point of Unix tools.

Not all Unix tools are simple. E.g. make. But I know what you mean - the Unix philosophy.

https://en.m.wikipedia.org/wiki/Unix_philosophy

The TAOUP book by Eric Raymond (The Art Of Unix Programming) has a lot about that.

https://en.m.wikipedia.org/wiki/The_Art_of_Unix_Programming

And my IBM developerWorks tutorial / case study on Developing a Linux command-line utility (in C) may be of interest to people who want to write their own Unix tools that play well with others.

https://jugad2.blogspot.com/2014/09/my-ibm-developerworks-ar...