top | item 9877082 H4sh – Exposing the Haskell List library as a set of shell utilities 58 points| Mayeu | 10 years ago |github.com 13 comments order hn newest cies|10 years ago I added it to a list that I maintain on the Haskell wiki, trying to sum up all Haskell effort related to shell scripting:https://wiki.haskell.org/Applications_and_libraries/Operatin... Mayeu|10 years ago :+1: xnyhps|10 years ago I was going to post that I was happy to see a new project using hs-plugins, but then I noticed:> h4sh was written during a cold, but sunny weekend in August 2005.hs-plugins looks so cool, but I'm afraid it's bit-rotten and abandoned. :( cies|10 years ago Here is a particular update of hs-plugins:https://github.com/Changaco/haskell-plugins kazinator|10 years ago > take 100 data | map show.length | sort | reverse | head $ txr -t '[(opip get-lines (mapcar length) sort reverse)]' | head asdfasdf adsfas da sfa f sdfadsf asd asdf [Ctrl-D] 8 7 6 4 3 3 2 1 0 Pattern for wrapping any list processing function as a command: $ mapcar() > { > txr -t "[(opip get-lines (mapcar $@))]" > } $ mapcar length < /etc/motd 63 0 43 0 28 33 0 36 42 0 Bored now. t0rb3n|10 years ago How can you not name this 'hashell'? Mayeu|10 years ago https://wiki.haskell.org/Applications_and_libraries/Operatin... :) load replies (1) amelius|10 years ago Can it also make immutable copies (snapshots) of the filesystem? gh02t|10 years ago Doubt it. That's something done by the filesystem itself and doesn't really belong in the shell. You can do it with btrfs or zfs though. LVM too. load replies (2)
cies|10 years ago I added it to a list that I maintain on the Haskell wiki, trying to sum up all Haskell effort related to shell scripting:https://wiki.haskell.org/Applications_and_libraries/Operatin... Mayeu|10 years ago :+1:
xnyhps|10 years ago I was going to post that I was happy to see a new project using hs-plugins, but then I noticed:> h4sh was written during a cold, but sunny weekend in August 2005.hs-plugins looks so cool, but I'm afraid it's bit-rotten and abandoned. :( cies|10 years ago Here is a particular update of hs-plugins:https://github.com/Changaco/haskell-plugins
cies|10 years ago Here is a particular update of hs-plugins:https://github.com/Changaco/haskell-plugins
kazinator|10 years ago > take 100 data | map show.length | sort | reverse | head $ txr -t '[(opip get-lines (mapcar length) sort reverse)]' | head asdfasdf adsfas da sfa f sdfadsf asd asdf [Ctrl-D] 8 7 6 4 3 3 2 1 0 Pattern for wrapping any list processing function as a command: $ mapcar() > { > txr -t "[(opip get-lines (mapcar $@))]" > } $ mapcar length < /etc/motd 63 0 43 0 28 33 0 36 42 0 Bored now.
t0rb3n|10 years ago How can you not name this 'hashell'? Mayeu|10 years ago https://wiki.haskell.org/Applications_and_libraries/Operatin... :) load replies (1)
Mayeu|10 years ago https://wiki.haskell.org/Applications_and_libraries/Operatin... :) load replies (1)
amelius|10 years ago Can it also make immutable copies (snapshots) of the filesystem? gh02t|10 years ago Doubt it. That's something done by the filesystem itself and doesn't really belong in the shell. You can do it with btrfs or zfs though. LVM too. load replies (2)
gh02t|10 years ago Doubt it. That's something done by the filesystem itself and doesn't really belong in the shell. You can do it with btrfs or zfs though. LVM too. load replies (2)
cies|10 years ago
https://wiki.haskell.org/Applications_and_libraries/Operatin...
Mayeu|10 years ago
xnyhps|10 years ago
> h4sh was written during a cold, but sunny weekend in August 2005.
hs-plugins looks so cool, but I'm afraid it's bit-rotten and abandoned. :(
cies|10 years ago
https://github.com/Changaco/haskell-plugins
kazinator|10 years ago
t0rb3n|10 years ago
Mayeu|10 years ago
amelius|10 years ago
gh02t|10 years ago