[exim-dev] [Bug 2097] New: RFE: ${field {<n>} {<string>} {<…

Pàgina inicial
Delete this message
Reply to this message
Autor: admin
Data:  
A: exim-dev
Assumpte: [exim-dev] [Bug 2097] New: RFE: ${field {<n>} {<string>} {<pad-char>}}
https://bugs.exim.org/show_bug.cgi?id=2097

            Bug ID: 2097
           Summary: RFE: ${field {<n>} {<string>} {<pad-char>}}
           Product: Exim
           Version: 4.88
          Hardware: All
                OS: All
            Status: NEW
          Severity: wishlist
          Priority: low
         Component: String expansion
          Assignee: nigel@???
          Reporter: jgh146exb@???
                CC: exim-dev@???


A way of padding strings to known field-width. Usually trailing space-padded
(if input is less than given width) - so last arg can be optional and default
to space. Also often the width will be constant, so support operator variant:

(eg.)

    ${field_17:[$sender_host_address]}


The word to use for the expansion is up for discussion.
Do we need leading-pad (right-justified in field) also?

--
You are receiving this mail because:
You are on the CC list for the bug.