Unfortunately this is not the case in latest HMC version.
username@hostname:~> lshmc -V
"version= Version: 10
Release: 3
Service Pack: 1060
HMC Build level 2406191052
MF71690 - HMC V10R3 M1060
MF71698 - iFix for HMC V10R3 M1060
","base_version=V10R3
"
username@hostname:~> echo foo|sed -e 's/foo/bar/'
bash: -e s/foo/bar/: restricted: cannot specify command or options in command names
username@hostname:~> echo foo|sed 's/foo/bar/'|sed 's/bar/baz/'
baz
username@hostname:~> which sed
/usr/hmcrbin/sed
username@hostname:~> head -1 /usr/hmcrbin/sed
#!/bin/bash
FWIW the above mentioned IBM RFE has 25 votes.
------------------------------
Esa Kärkkäinen
------------------------------
Original Message:
Sent: Mon March 04, 2024 04:34 AM
From: JORGE SILVESTRE
Subject: ezh or eezh on HMC
The fix for the sed command is now available in the latest service pack for HMC.
PTF MF71553 HMC V10 R3 M1051.0 - for 7063 Hardware or vHMC for PowerVM (5765-HMB)
https://download4.boulder.ibm.com/sar/CMA/HMA/0c1ag/1/MF71553.readme.html
-- Fixed an issue causing the sed command to fail when a command argument contains a dash.
------------------------------
JORGE SILVESTRE
Original Message:
Sent: Mon November 20, 2023 03:06 PM
From: OUSSAMA NAZIH
Subject: ezh or eezh on HMC
Hi,
I suggest you register on IBM's RFE portal and share your opinions.
https://ibm-power-systems.ideas.ibm.com/ideas/HMC-I-436
---------------------------------
OUSSAMA NAZIH
---------------------------------
------------------------------
OUSSAMA NAZIH
Original Message:
Sent: Wed October 18, 2023 04:24 PM
From: Matthew Opoka
Subject: ezh or eezh on HMC
Is anyone currently using ezh or eezh on their HMC? If so, what version and patch level are you on? The most recent fix patch for V10 disables sed which ezh/eezh use.
------------------------------
Matthew Opoka
------------------------------