Bug 705281 - Running man sh produce bash manual instead of sh manual
Summary: Running man sh produce bash manual instead of sh manual
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: bash
Version: 15
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Roman Rakus
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-17 09:08 UTC by marian
Modified: 2014-01-13 00:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-17 14:01:13 UTC
Type: ---


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.