clicompanion-devs team mailing list archive
-
clicompanion-devs team
-
Mailing list archive
-
Message #00250
[Bug 892448] Re: Command list includes incorrect commands
** Changed in: clicompanion
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of CLI
Companion Development Team, which is subscribed to CLI Companion.
https://bugs.launchpad.net/bugs/892448
Title:
Command list includes incorrect commands
Status in CLI Companion:
Fix Released
Bug description:
Here are three problems I found in a few quick tests:
(1) ps auxww | grep @
This prompts for a process (really a process ID). It has two
problems:
(1A) If you provide the number 1 as a process id, you get info on all
processes with a 1 anywhere in their output from ps u, rather than just
the info for PID 1.
(1B) It is inefficient and poor practice to output way more information
that you need, and then use a second process to select from it, unless
you have no other option. The way to tell ps to output info for the
process with PID 1 is -p 1 -- why was this not used?
(2) cp ?
This can never work. cp needs source and destination as mandatory
parameters, so prompting for only one will always fail.
(3) mv ?
This, like cp, can never work. mv needs source and destination as
mandatory parameters, so prompting for only one will always fail.
To manage notifications about this bug go to:
https://bugs.launchpad.net/clicompanion/+bug/892448/+subscriptions
References