[Bug 2069637] [NEW] Backshashing a ! does not remove the backslash

lnee lnee 2069637 at bugs.launchpad.net
Mon Jun 17 17:49:52 UTC 2024


Public bug reported:

when i run echo "!echo" I get as an out put "echo hel" normal but not
what I want so I do echo "\!echo" but I get "\!echo" the backslash is
still there not good is I want to use ! in a statement

GNU bash, version 5.2.21(1)-release-(x86_64-pc-linux-gnu)

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

** Description changed:

  when i run echo "!echo" I get as an out put "echo hel" normal but not
  what I want so I do echo "\!echo" but I get "\!echo" the backslash is
  still there not good is I want to use ! in a statement
+ 
+ GNU bash, version 5.2.21(1)-release-(x86_64-pc-linux-gnu)

** Summary changed:

- Backshashing a ! does not remove the !
+ Backshashing a ! does not remove the backslash

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/2069637

Title:
  Backshashing a ! does not remove the backslash

Status in bash package in Ubuntu:
  New

Bug description:
  when i run echo "!echo" I get as an out put "echo hel" normal but not
  what I want so I do echo "\!echo" but I get "\!echo" the backslash is
  still there not good is I want to use ! in a statement

  GNU bash, version 5.2.21(1)-release-(x86_64-pc-linux-gnu)

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




More information about the foundations-bugs mailing list