Error in man page example of eval builtin

Bug #1490135 reported by Jarno Suni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
New
Undecided
Unassigned

Bug Description

EXAMPLES
              foo=10 x=foo
              y='$'$x
              echo $y
              $fooeval y='$'$x
              echo $y
              10

should be something like

EXAMPLES
              foo=10 x=foo
              y='$'$x
              echo $y
              $foo
              eval y='$'$x
              echo $y
              10

(echo adds newline by default)
Besides, it should be considered, if commands and outputs could be distinguished in the example.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: bash 4.3-7ubuntu1.5
ProcVersionSignature: Ubuntu 3.13.0-62.102-lowlatency 3.13.11-ckt24
Uname: Linux 3.13.0-62-lowlatency x86_64
ApportVersion: 2.14.1-0ubuntu3.12
Architecture: amd64
CurrentDesktop: XFCE
Date: Sat Aug 29 14:02:46 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-09-21 (342 days ago)
InstallationMedia: Ubuntu-Studio 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jarno Suni (jarnos) wrote :
tags: added: manpage
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.