Are you using the -r option as specified in the usage notes (which say to use 
`sed -rf <script> ...`)? By default without -r, sed parses parentheses as 
literals rather than as special characters.


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, March 19, 2021 1:12 PM, Rich Shepard <[email protected]> 
wrote:

> On Fri, 19 Mar 2021, Reid wrote:
>
> > Your script works for me. What issue are you observing?
>
> Reid,
>
> I see no changes:
>
> $ ~/shell-scripts/sed/all-caps-to-mixed.sed < test-file.dat
> '1983-074','AQ Permitting','CR','MID-OREGON CRUSHING CO., INC.','','Notice of 
> Civil Penalty Assessment','','8/26/1983','4500'
> '1984-001','WQ Permitting','WR','VANDERVELDE, ROY','','Notice of Civil 
> Penalty Assessment','WQ','5/23/1984','2500'
> '1987-027','WQ Permitting','WQ','MERIT USA, INC. (BRIGGS/INDUSTRIAL OIL/FUEL 
> PROCE)','','Notice of Civil Penalty Assessment',' WQ','5/28/1987','3500'
> '1988-017','Open Burning','SWR','JONES, BILLY AND LADAKE, ROBERT','','Notice 
> of Civil Penalty Assessment','','2/18/1988','500'
> '1988-031','Asbestos','NWR','LABENSKE, BILL R. JR.','','Notice of Civil 
> Penalty Assessment','','6/12/1988','0'
> '1989-041','','SW','THOMAS, DONN, AKA/DONN BEAM; SCHULTZ, 
> RICHARD;,ANN','','Notice of Civil Penalty
>
> Thanks,
>
> Rich
>
> PLUG: https://pdxlinux.org
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug


_______________________________________________
PLUG: https://pdxlinux.org
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to