Are you sure which sed you are using?
$ ls -l /usr/bin/sed
lrwxrwxrwx 1 qsys 0 56 Jul 18 2017 /usr/bin/sed ->
/QSYS.LIB/QSHELL.LIB/SED.PGM
$ ls -l `which sed`
-rwxr-xr-x 1 qsys 0 1696485 Nov 25 2019 /QOpenSys/pkgs/bin/sed


On Tue, Nov 30, 2021 at 2:57 PM Alan Shore via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

Hi everyone
We are on V7r3
This is the command that we use
CHGVAR VAR(&CMD) VALUE('sed -e ''s/\" \"//g'' ' +
*BCAT &FILE2 *BCAT '| sed -e +
''s/|\./|0\./g'' | sed -e ''s# *|#|#g'' +
| tr -d ''\r'' > +
/temp/DHLTEMP.work1')
STRQSH CMD(&CMD)



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.