Bug 437653

Summary: /bin/echo --foo --bar drops first argument/parameter?!
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: coreutilsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhideCC: twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-17 08:04:55 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 235705    

Description Robert Scheck 2008-03-15 16:05:43 EDT
Description of problem:
# echo --foo --bar
--foo --bar
#

But:

# /bin/echo --foo --bar
--bar
# 

Ouch. Lost we "--foo" in translation?

Version-Release number of selected component (if applicable):
coreutils-6.10-11

How reproducible:
Strange echo behaviour.

Actual results:
/bin/echo --foo --bar drops first argument/parameter?!

Expected results:
No argument/parameter dropping any longer - and AFAIK as in the past.
Comment 1 Ondrej Vasik 2008-03-17 05:17:37 EDT
Thanks for report, what you see was requested change to have option separator in
echo (see #431005 for details). It seemed reasonable to have that separator at
first sight. I was wrong... Now I'm sure (in fact before your bug report, I had
discussion on upstream mailing list about that misunderstanding) that this is
wrong idea and it will be fixed in next rawhide build. Sorry for that once more
time.
Comment 2 Ondrej Vasik 2008-03-17 08:04:55 EDT
Built as coreutils-6.10-13.fc9 , closing RAWHIDE