FuncShell – A Haskell-based alternative to awk
1–10 of 42 posts
Re: FuncShell – A Haskell-based alternative to awk
#2Similar idea, but uses sqlite to make an awk like utility with sql syntax: https://github.com/dbohdan/sqawk
Re: FuncShell – A Haskell-based alternative to awk
#3I'm amazed by the powerline-command prompt. Shiny things seem to draw my attention a bit too much.
Re: FuncShell – A Haskell-based alternative to awk
#4Similar idea, but uses LUA as inline language: https://github.com/HeinrichHartmann/luawk
``` > printf abc | luawk -p '_:gsub("a","A")'
Abc ```
Re: FuncShell – A Haskell-based alternative to awk
#5I'm amazed by the powerline-command prompt. Shiny things seem to draw my attention a bit too much.
Haha, me too! I want to read an article on getting my zsh prompt to look like that.
Re: FuncShell – A Haskell-based alternative to awk
#6I like how you made this version use pipes instead of being a shell. Do you have any plans to create a new JS version of Awkward using pipes?
Re: FuncShell – A Haskell-based alternative to awk
#7In typical usage, do you need the type hints much? I saw ":: Float" in there for the df example, for instance.
Re: FuncShell – A Haskell-based alternative to awk
#8I'm amazed by the powerline-command prompt. Shiny things seem to draw my attention a bit too much.
Haha, me too! I want to read an article on getting my zsh prompt to look like that.
Windows - https://amreldib.com/blog/CustomizeWindowsCmderPrompt/
zsh - https://gist.githubusercontent.com/agnoster/3712874/raw/c310...
powerline theme on github - https://github.com/banga/powerline-shell
Re: FuncShell – A Haskell-based alternative to awk
#9I always have mixed feelings on awk alternatives. I find awk to be one of the most underused tools in scripting. Awk has saved me numerous of times.
Now replacing latex with a modern syntax would be awesome!!!
Re: FuncShell – A Haskell-based alternative to awk
#10In typical usage, do you need the type hints much? I saw ":: Float" in there for the df example, for instance.
Not really, in the example of df, I was filtering on the basis of size, which is not int usually but a decimal value, hence I had to provide the type hint.