Skip to content

Commit

Permalink
add-unblot-tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-cotton committed Sep 17, 2021
1 parent a4ff7c7 commit bb821da
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,32 @@ dupi extract
dupi index -a /path/to/new/docs
```

## Blotting

Sometimes it might be interesting to see if a file has a blot. Dupi
provides the ability to blot files using the same mechanism as is
used in the index.

```
dupi blot file
```


## Querying the index

At the moment, all we provide is this:
Dupi provides primitives for unblotting, which takes a blot and
reconstructs the corresponding text and instances. This is still
rudimentary, but here are some examples.

```
dupi extract | awk '{print $1}' | xargs dupi unblot
```

Or

```
dupi blot file | xargs dupi unblot
```

## Conclusion

Expand Down

0 comments on commit bb821da

Please sign in to comment.