Category "ksh"

Why does ksh's vi-mode in Terminal on macOS "Big Sur" sometimes corrupts the edit line?

I noticed that sometimes when trying to edit a line in the history to re-run a command, that ksh would garble the line and move the cursor up a line. It was rea

Remove new line characters from csv file and save results to the same filename

I have files which have spaces in their filenames (ex filename Listener Care - RXM Call Center Satisfaction-2022-03-01.csv) These files also have new line chara

Unable to run script remotely on VIO servers?

I need to run an KSH script in VIO server remotely. But as VIO server is in restricted shell, I tried as below. ssh -q -T padmin@vioserver "oem_setup_env" <

How do i replace [] brackets using SED

I have a string that i am want to remove punctuation from. I started with sed 's/[[:punct:]]/ /g' But i had problems on HP-UX not liking that all the time