Bug 46856

Summary: vim.sh - totally screwed up
Product: [Retired] Red Hat Linux Reporter: Alexander L. Belikoff <abel>
Component: vimAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-01 14:34:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexander L. Belikoff 2001-07-01 14:34:44 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.5-10smp i686; en-US; rv:0.9.1)
Gecko/20010609

Description of problem:
vim.sh is written the way it doesn't pass to vim any command-line parameters

How reproducible:
Always

Steps to Reproduce:
1.dmesg > foobar
2.vi foobar
3.
	

Actual Results:  vim starts with splash page and no file loaded

Expected Results:  vim should start with file loaded

Additional info:

To fix: ate least change the line:

    vi() { /usr/bin/vim ; }

to

vi() { /usr/bin/vim "$@" ; }

Comment 1 Bernhard Rosenkraenzer 2001-07-02 14:36:07 UTC
Argh, missing \ before a $. Fixed in 5.8-4

Comment 2 Bernhard Rosenkraenzer 2001-07-03 15:45:23 UTC
*** Bug 47056 has been marked as a duplicate of this bug. ***

Comment 3 Bernhard Rosenkraenzer 2001-07-09 09:49:31 UTC
*** Bug 47962 has been marked as a duplicate of this bug. ***