Skip to content

Commit

Permalink
Add script to read snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
ysthakur committed Dec 31, 2023
1 parent e17fb66 commit 34d7189
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/read-snap.nu
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Read one of insta's snapshots and only give back the actual code, not insta's info header
def main [ file ] {
open $file | split row "---\n" -n 3 | $in.2
}

0 comments on commit 34d7189

Please sign in to comment.