Skip to content

Commit

Permalink
run
Browse files Browse the repository at this point in the history
  • Loading branch information
vmchale committed Nov 21, 2024
1 parent 1aa435d commit 8eec8fc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@ This is simpler than:
cabal list --simple | cut -d' ' -f1 | sort -u
```

# Get Latest Version (Cabal)

```
cabal info splitmix \
| ja -R '\n[^:\n]*:' -b -F'\s*,\s*' '[x ~* 1 /(\d+(\.\d+)*)/]:?{%/Versions available:/}{[y]|>`$}'
```

# Prune Branches (Git)

```
git branch --contains | ja '{%/^[^\*]/}{`0}' | xargs git branch -d
```

# Create SQL Table From CSV

```bash
Expand Down

0 comments on commit 8eec8fc

Please sign in to comment.