Skip to content

Commit bb821da

Browse files
committed
add-unblot-tutorial
1 parent a4ff7c7 commit bb821da

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

docs/tutorial.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,32 @@ dupi extract
9292
dupi index -a /path/to/new/docs
9393
```
9494

95+
## Blotting
96+
97+
Sometimes it might be interesting to see if a file has a blot. Dupi
98+
provides the ability to blot files using the same mechanism as is
99+
used in the index.
100+
101+
```
102+
dupi blot file
103+
```
104+
105+
95106
## Querying the index
96107

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

99112
```
100113
dupi extract | awk '{print $1}' | xargs dupi unblot
101114
```
102115

116+
Or
117+
118+
```
119+
dupi blot file | xargs dupi unblot
120+
```
103121

104122
## Conclusion
105123

0 commit comments

Comments
 (0)