Bug 705281

Summary: Running man sh produce bash manual instead of sh manual
Product: [Fedora] Fedora Reporter: marian <bispartacus>
Component: bashAssignee: Roman Rakus <rrakus>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: linville, maxamillion, rrakus, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-17 14:01:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description marian 2011-05-17 09:08:24 UTC
Description of problem:
Running on terminal man sh
Running on terminal sh --version produce bash --version

Version-Release number of selected component (if applicable):
GNU bash, version 4.2.10(1)-release (x86_64-redhat-linux-gnu)


How reproducible:


Steps to Reproduce:
1.Open terminal
2.Type  sh |sh --version | bash --version |man bash | man sh
3.
  
Actual results:
Alls interpretors have same version and same manual

Expected results:
Interpretors must have different manuals and versions. 

Additional info:

Comment 1 John W. Linville 2011-05-17 14:01:13 UTC
I'm not sure what you expect, since /bin/sh is a link to /bin/bash...

/home/linville
[linville-8530p.local]:> rpm -qf /bin/sh
bash-4.1.7-3.fc14.x86_64

/home/linville
[linville-8530p.local]:> rpm -qf /bin/bash
bash-4.1.7-3.fc14.x86_64

/home/linville
[linville-8530p.local]:> ls -l /bin/sh
lrwxrwxrwx. 1 root root 4 Nov 15  2010 /bin/sh -> bash