Bug 854486

Summary: [RHEVM-CLI] history command does not support pipe redirection
Product: Red Hat Enterprise Virtualization Manager Reporter: Michael Pasternak <mpastern>
Component: ovirt-engine-cliAssignee: Michael Pasternak <mpastern>
Status: CLOSED CURRENTRELEASE QA Contact: Ilia Meerovich <iliam>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: acathrow, bazulay, dyasny, ecohen, iheim, oramraz, Rhev-m-bugs, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: si18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:57:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Pasternak 2012-09-05 07:06:39 UTC
On 09/04/2012 06:15 PM, Simon Grinberg wrote:
> 14. Pipline to shell command does not work with the history command
> 
> [RHEVM shell (connected)]# history | grep Cloned
> 
> error: invalid literal for int() with base 10: '| grep Cloned'
> 
> While other pipelines work well

Comment 3 Ilia Meerovich 2012-11-25 09:01:16 UTC
[RHEVM shell (connected)]# history | grep history
[1022] history | grep Cloned
[1023] history
[1024] history | grep create
[RHEVM shell (connected)]# exit
[imeerovi@imeerovi rhevm_qe_utils]$ rpm -qa | grep rhevm-cli
rhevm-cli-3.1.0.17-1.el6ev.noarch

Comment 4 Ilia Meerovich 2012-11-25 09:03:48 UTC
[RHEVM shell (connected)]# history | grep history
[1022] history | grep Cloned
[1023] history
[1024] history | grep create
[RHEVM shell (connected)]# exit
[imeerovi@imeerovi rhevm_qe_utils]$ rpm -qa | grep rhevm-cli
rhevm-cli-3.1.0.17-1.el6ev.noarch