Skip to content

Instantly share code, notes, and snippets.

@peterc
Created June 7, 2022 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterc/b8d9cabb792d1bc8ba6966400a8705c7 to your computer and use it in GitHub Desktop.
Save peterc/b8d9cabb792d1bc8ba6966400a8705c7 to your computer and use it in GitHub Desktop.
Using mlr to filter and sort a CSV of GitHub projects
mlr --csv filter 'strptime($pushed_at,"%Y-%m-%d %H:%M:%S %Z") > strptime("2021-09-01", "%Y-%m-%d") && $stargazers >= 2' then sort -nr stargazers list.csv > goodlist.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment