Comment

Comment by simonw

If you're not familiar with Go there is one detail missing from this post (though it's in the script README) - what a complete program looks like. Here's the example from https://github.com/bitfield/script#a-realistic-use-case

    package main

    import (
        "github.com/bitfield/script"
    )

    func main() {
        script.Stdin().Column(1).Freq().First(10).Stdout()
    }
parent simonw 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton