← Back to team overview

touch-packages team mailing list archive

[Bug 1490135] [NEW] Error in man page example of eval builtin

 

Public bug reported:

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)

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1490135

Title:
  Error in man page example of eval builtin

Status in bash package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1490135/+subscriptions


Follow ups