View Issue Details

IDProjectCategoryView StatusLast Update
00011091003.1(2016/18)/Issue7+TC2Shell and Utilitiespublic2024-06-11 09:09
Reportersteffen Assigned To 
PrioritynormalSeverityEditorialTypeClarification Requested
Status ClosedResolutionAccepted As Marked 
Namesteffen
Organization
User Reference
SectionVol. 3, mailx
Page Number2951
Line Number97791-2
Interp Status---
Final Accepted Text0001109:0003525
Summary0001109: Internal *bang* variable does not affect ~<! command escape
Description..but only ! command and !~ command escape.

This is true for Illumos-gate /usr/src/cmd/mailx, Apple mailx (10.10, 2015-10-13), NetBSD Mail. Also for my clone. OpenBSD Mail does not have this command escape at all.

Note that Apple Mail (and also illumos, but i may misremember) do not even update the storage unless *bang* is set, i.e., no expansion would happen for the first command after setting *bang*. (Unless something is still lingering.)
Desired ActionOn line 97791, change

  The default shall be nobang, disabling the expansion of '!' in the command argument to the ˜! command and the ˜<!command escape.

to

  The default shall be nobang, disabling the expansion of '!' in the command argument to the ! command and the ˜! command escape.
Tagstc3-2008

Activities

geoffclare

2016-12-19 09:17

manager   bugnote:0003525

Last edited: 2016-12-19 09:18

There are more problems with the description of the bang variable than are reported here.

Change:
Enable the special-case treatment of <exclamation-mark> characters ('!') in escape command lines; see the escape command and [xref to Command Escapes in mailx]. The default shall be nobang, disabling the expansion of '!' in the command argument to the ˜! command and the ˜<!command escape.
to:
Enable the special-case treatment of <exclamation-mark> characters ('!') in ! commands and ~!command escapes; see the Invoke Shell Command command and [xref to Command Escapes in mailx]. The default shall be nobang, disabling the expansion of '!' in the command argument to the ! command and the ˜!command escape.


Issue History

Date Modified Username Field Change
2016-12-17 20:12 steffen New Issue
2016-12-17 20:12 steffen Name => steffen
2016-12-17 20:12 steffen Section => Vol. 3, mailx
2016-12-17 20:12 steffen Page Number => 2951
2016-12-17 20:12 steffen Line Number => 97791-2
2016-12-19 09:17 geoffclare Note Added: 0003525
2016-12-19 09:18 geoffclare Note Edited: 0003525
2018-06-07 16:27 geoffclare Interp Status => ---
2018-06-07 16:27 geoffclare Final Accepted Text => 0001109:0003525
2018-06-07 16:27 geoffclare Status New => Resolved
2018-06-07 16:27 geoffclare Resolution Open => Accepted As Marked
2018-06-07 16:27 geoffclare Tag Attached: tc3-2008
2019-10-30 10:31 geoffclare Status Resolved => Applied
2024-06-11 09:09 agadmin Status Applied => Closed