[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64080: e execute command within braces
From: |
Thomas Loimer |
Subject: |
bug#64080: e execute command within braces |
Date: |
Thu, 15 Jun 2023 15:28:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 |
Without braces, the expected outcome:
$ echo -e "1671779521\n1671952321" | sed 's/^/date -I -d @/; e'
2022-12-23
2022-12-25
With braces, I would expect the same outcome (the pattern match for
completenes),
$ echo -e "1671779521\n1671952321" | sed '/./ {s/^/date -I -d @/; e }'
sed: -e expression #1, char 0: unmatched `{'
As a flag to the s command, e works. Semicolon after e does not help.
Do I miss anything?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#64080: e execute command within braces,
Thomas Loimer <=