|
|
@ -19,12 +19,12 @@ input:
|
|
|
|
|--------------------------| |--------------|
|
|
|
|
|--------------------------| |--------------|
|
|
|
|
/long/path/to/some/ebook.pdf | Title Of Ebook
|
|
|
|
/long/path/to/some/ebook.pdf | Title Of Ebook
|
|
|
|
____
|
|
|
|
____
|
|
|
|
\
|
|
|
|
|
|
|
|
|
example usage: \
|
|
|
|
example usage: | x:arg
|
|
|
|
-------------- \__________________
|
|
|
|
-------------- |
|
|
|
|
___\_
|
|
|
|
----------------
|
|
|
|
colmap --field-1='basename {}' --field-2="awk { print $1 }"
|
|
|
|
colmap 'basename {}' "awk { print $1 }"
|
|
|
|
_________________|: x-arg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#OR
|
|
|
|
#OR
|
|
|
|
colmap -f1 'basename {}' -f2 'awk { print $1 }'
|
|
|
|
colmap -f1 'basename {}' -f2 'awk { print $1 }'
|
|
|
@ -45,20 +45,14 @@ foo_cmd | colmap --field-1='basename {}' --field-2="awk { print $1 }"
|
|
|
|
foo_cmd | colmap -f1 'basename {}' -f2 'awk { print $1 }'
|
|
|
|
foo_cmd | colmap -f1 'basename {}' -f2 'awk { print $1 }'
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
2. Passing an `xarg template`
|
|
|
|
2. Passing `xargs` as positional arguments
|
|
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
```shell
|
|
|
|
foo_cmd | colmap -t 'basename {}' 'awk { print $2 }'
|
|
|
|
foo_cmd | colmap 'basename {}' 'awk { print $2 }'
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
[I am using Github under protest](protest.md)
|
|
|
|
[I am using Github under protest](protest.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TODO:
|
|
|
|
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ ] use golden tests
|
|
|
|
|
|
|
|
[ ] use non-dashed cli like (rwxrob/bonzai)
|
|
|
|
|
|
|
|