turtle icon indicating copy to clipboard operation
turtle copied to clipboard

Shell programming, Haskell style

Results 45 turtle issues
Sort by recently updated
recently updated
newest added

I tried to replace optparse-applicative with Turtle.Options which is simpler. However, its dependence on system-filepath deterred me from adoption.

usually I run doctests on my Haskell programs, like so: ``` $ doctest -DDOCTEST somefile.hs ``` when I do this with a minimal turtle script, like this one: ```haskell #!/usr/bin/env...

I think having a more full featured find utility would be great. I figured I'd post a plan to get ideas before I start trying to write it. In my...

I needed to press space bar on an ncurses program, but `proc` and `shell` couldn't do it. I had to replace them with `import System.Process (spawnProcess, waitForProcess)`. Below is how...

When scheduling longer tasks (like audio file conversion), all cores should be used by the script. Right now Turtle only contains `parallel`, which will schedule as many parallel processes as...

And suggestion on a better way than: `inshell "ssh localhost \"ls /etc/issue\"" empty`

Maybe I just didn't notice it, but in my opinion this is a must have for anyone writing shell scripts. I know I can use System.Environment, perhaps Turtle should consider...

I am shopping around for a Haskell replacement for `Gnu make` / `npm script`. How would I accomplish this with turtle? Also, how would it compare to [shake](http://shakebuild.com/manual)?

What is the preferred way to get formatted date (e.g. `date +%F` in shell)? Thanks.

I'm finding my code is doing a lot of this: ```haskell o1 handle err (ExitSuccess, stdout) -> do o2 handle err (ExitSuccess, stdout) -> do ... ``` I'd like to...