2021-12-03 12:00:07 |
Akbarkhon Variskhanov |
bug |
|
|
added bug |
2021-12-03 12:01:37 |
Akbarkhon Variskhanov |
description |
Separating the first part of a list and the `alert` part with && (or any of the doubled control operators) will result the second character to be printed in the body of the message. Adding the asterisk after the [;&|] bracket expression fixes it.
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Dec 3 16:56:21 2021
InstallationDate: Installed on 2021-05-17 (200 days ago)
InstallationMedia: Xubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install) |
Separating the first part of a list and the `alert` part with && (or any of the doubled control operators) will result the second character to be printed in the body of a message. Adding the asterisk after the [;&|] bracket expression fixes it:
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Dec 3 16:56:21 2021
InstallationDate: Installed on 2021-05-17 (200 days ago)
InstallationMedia: Xubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2021-12-03 12:34:26 |
Akbarkhon Variskhanov |
description |
Separating the first part of a list and the `alert` part with && (or any of the doubled control operators) will result the second character to be printed in the body of a message. Adding the asterisk after the [;&|] bracket expression fixes it:
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Dec 3 16:56:21 2021
InstallationDate: Installed on 2021-05-17 (200 days ago)
InstallationMedia: Xubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install) |
Separating the first part of a list and the `alert` part with && (or any of the doubled control operators) will result the second character to be printed in the body of a message, for example:
sleep 5s && alert
Adding the asterisk after the [;&|] bracket expression fixes it:
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Dec 3 16:56:21 2021
InstallationDate: Installed on 2021-05-17 (200 days ago)
InstallationMedia: Xubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2021-12-03 12:39:01 |
Sebastien Bacher |
bash (Ubuntu): importance |
Undecided |
Low |
|
2021-12-03 12:43:14 |
Akbarkhon Variskhanov |
attachment added |
|
skel.bashrc.patch https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1953151/+attachment/5545229/+files/skel.bashrc.patch |
|
2021-12-03 12:53:31 |
Akbarkhon Variskhanov |
description |
Separating the first part of a list and the `alert` part with && (or any of the doubled control operators) will result the second character to be printed in the body of a message, for example:
sleep 5s && alert
Adding the asterisk after the [;&|] bracket expression fixes it:
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Dec 3 16:56:21 2021
InstallationDate: Installed on 2021-05-17 (200 days ago)
InstallationMedia: Xubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install) |
Separating the first part of a list and the `alert` part with && (or any of the doubled control operators) will result the second character to be printed in the body of a message, for example:
sleep 5s && alert
will display the following message:
sleep 5s &
Adding the asterisk after the [;&|] bracket expression fixes it:
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Dec 3 16:56:21 2021
InstallationDate: Installed on 2021-05-17 (200 days ago)
InstallationMedia: Xubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2021-12-03 12:53:59 |
Akbarkhon Variskhanov |
description |
Separating the first part of a list and the `alert` part with && (or any of the doubled control operators) will result the second character to be printed in the body of a message, for example:
sleep 5s && alert
will display the following message:
sleep 5s &
Adding the asterisk after the [;&|] bracket expression fixes it:
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Dec 3 16:56:21 2021
InstallationDate: Installed on 2021-05-17 (200 days ago)
InstallationMedia: Xubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install) |
Separating the first part of a list and the `alert` part with && (or any of the doubled control operators) will result the second character to be printed in the body of a message, for example with:
sleep 5s && alert
notify-send will display the following message:
sleep 5s &
Adding the asterisk after the [;&|] bracket expression fixes it:
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Dec 3 16:56:21 2021
InstallationDate: Installed on 2021-05-17 (200 days ago)
InstallationMedia: Xubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2021-12-03 12:55:03 |
Akbarkhon Variskhanov |
description |
Separating the first part of a list and the `alert` part with && (or any of the doubled control operators) will result the second character to be printed in the body of a message, for example with:
sleep 5s && alert
notify-send will display the following message:
sleep 5s &
Adding the asterisk after the [;&|] bracket expression fixes it:
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Dec 3 16:56:21 2021
InstallationDate: Installed on 2021-05-17 (200 days ago)
InstallationMedia: Xubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install) |
[Description]
Separating the first part of a list and the `alert` part with && (or any of the doubled control operators) will result the second character to be printed in the body of a message, for example with:
sleep 5s && alert
notify-send will display the following message:
sleep 5s &
which is obviously not intended and undesirable
[Suggested fix]
Adding the asterisk after the [;&|] bracket expression fixes it:
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Dec 3 16:56:21 2021
InstallationDate: Installed on 2021-05-17 (200 days ago)
InstallationMedia: Xubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2021-12-03 12:55:21 |
Akbarkhon Variskhanov |
description |
[Description]
Separating the first part of a list and the `alert` part with && (or any of the doubled control operators) will result the second character to be printed in the body of a message, for example with:
sleep 5s && alert
notify-send will display the following message:
sleep 5s &
which is obviously not intended and undesirable
[Suggested fix]
Adding the asterisk after the [;&|] bracket expression fixes it:
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Dec 3 16:56:21 2021
InstallationDate: Installed on 2021-05-17 (200 days ago)
InstallationMedia: Xubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install) |
[Description]
Separating the first part of a list and the `alert` part with && (or any of the doubled control operators) will result the second character to be printed in the body of a message, for example with:
sleep 5s && alert
notify-send will display the following message:
sleep 5s &
which is obviously undesirable and not intended.
[Suggested fix]
Adding the asterisk after the [;&|] bracket expression fixes it:
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Dec 3 16:56:21 2021
InstallationDate: Installed on 2021-05-17 (200 days ago)
InstallationMedia: Xubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2021-12-03 14:22:11 |
Akbarkhon Variskhanov |
description |
[Description]
Separating the first part of a list and the `alert` part with && (or any of the doubled control operators) will result the second character to be printed in the body of a message, for example with:
sleep 5s && alert
notify-send will display the following message:
sleep 5s &
which is obviously undesirable and not intended.
[Suggested fix]
Adding the asterisk after the [;&|] bracket expression fixes it:
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Dec 3 16:56:21 2021
InstallationDate: Installed on 2021-05-17 (200 days ago)
InstallationMedia: Xubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install) |
Patch attached below.
[Description]
Separating the first part of a list and the `alert` part with && (or any of the doubled control operators) will result the second character to be printed in the body of a message, for example with:
sleep 5s && alert
notify-send will display the following message:
sleep 5s &
which is obviously undesirable and not intended.
[Suggested fix]
Adding the asterisk after the [;&|] bracket expression fixes it:
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]*\s*alert$//'\'')"'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: bash 5.0-6ubuntu1.1
ProcVersionSignature: Ubuntu 5.11.0-40.44~20.04.2-generic 5.11.22
Uname: Linux 5.11.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Fri Dec 3 16:56:21 2021
InstallationDate: Installed on 2021-05-17 (200 days ago)
InstallationMedia: Xubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2021-12-03 16:25:19 |
Ubuntu Foundations Team Bug Bot |
tags |
amd64 apport-bug focal |
amd64 apport-bug focal patch |
|
2021-12-03 16:25:27 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |