| 1 |
There is no substantial documentation yet. Volunteer authors are |
| 2 |
more than welcome. Here are some examples to get you started. |
| 3 |
|
| 4 |
# Search all files in specified packages for a regex |
| 5 |
$ dgrep <pattern> <package>... |
| 6 |
|
| 7 |
# Search through all files in all installed packages for a regex |
| 8 |
$ dgrep <pattern> '.*' |
| 9 |
|
| 10 |
# Same, but also search inside compressed files |
| 11 |
$ dzgrep <pattern> '.*' |
| 12 |
|
| 13 |
# Calculate the total disk space usage of all files contained in all |
| 14 |
# installed packages whose names begin with 'lib' |
| 15 |
$ dglob -0f ^lib | xargs -0 du -c | awk '{sum += $1} END {print sum}' |
| 16 |
|
| 17 |
# Fetch most recent version of package |
| 18 |
$ debget <package> |
| 19 |
|
| 20 |
# Fetch a specific version of package |
| 21 |
$ debget <package>=<version> |