Command list includes incorrect commands

Bug #892448 reported by Duane Hinnen on 2011-11-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CLI Companion
Medium
Duane Hinnen

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.

Related branches

Changed in clicompanion:
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → Duane Hinnen (duanedesign)
David Caro (dcaro) on 2011-12-31
Changed in clicompanion:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers