On 04/08/2013 04:03 AM, Tshepang Lekhonkhobe wrote:
> You can always do "wajig commands | pager", then search through that instead.
Not the same as being able to grep the line of a string.
I don't want to page through commands - I just want to trigger a memory..
The old way you can do things like this:
$ wajig commands| grep depend
auto-remove Remove packages installed automatically as dependencies
build-depend Retrieve packages required to build listed packages
dependents List of packages which depend/recommend/suggest the package
fix-install Perform apt-get -f install (to fix broken dependencies)
force Install packages and ignore file overwrites and depends
help Print documentation (detail depends on --verbose)
purge-depend Purge package and those it depend on and not required by others
recursive Download package and any packages it depends on
remove-depend Remove package and its dependees not required by others
On a new system:
# wajig commands |grep depend
Remove unused dependency packages
from them. This also installs the needed build-dependencies if needed.
Install build-dependencies for given packages
Display packages which have some form of dependency on the given package
Types of dependencies:
Fix an install interrupted by broken dependencies
Fix and install even though there are missing dependencies
Install packages and ignore file overwrites and depends
multiple packages or when a dependency is not installed for
* specifying a .deb file will also try to satisfy that deb's dependencies;
Install a package and its Suggests dependencies
Display the packages which build-depend on the given package
Download a package and all its dependencies
Display packages that were installed via Recommends dependency
and have no dependents
The new way is a poor cheat-sheet and poor documentation.
AND the all caps as listed in commands don't work for a copy-paste to plug into a command line..
>
> You can always use aliases. I use them a lot. I got dozens. Example:
>
> $ alias ii
> alias ii='wajig install --noauth'
I work with dozens of machines and just have bare shells - probably not an unusual situation for a
wajig user..
>> If you want a long fancy list with formatting , put it in the man page. The
>> command command was just to refresh memory, not full documentation.
>
> FWIW, full documentation for each command is reachable by using the
> --help switch (e.g. "wajig commands --help").
Again - that makes my point - the commands command was not supposed to be in-depth documentation -
just a cheat-sheet for use when standing in a puddle of water working on a server with a 7"
screen... Remember - wajig is a tool for non GUI systems where we are just managing systems - there
are GUI tools with all sorts of pretty documentation already around.
I suppose I sound picky - but I hate to see wajig go backwards..