Created
January 13, 2022 13:53
-
-
Save johnkerl/0629596cd53cd14404bb51cfd1481a28 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat deslurm.mlrsh | |
#!/usr/bin/env mlr -s | |
--csv put -f deslurm2.mlr -e '$y = deslurm($x)' -e '$z=sec2dhms($y)' | |
$ deslurm.mlrsh test.csv | |
x,y,z | |
5-18:53:20,500000,5d18h53m20s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment