Search Results

Search: Posts Made By: mixxamike
26,250
Posted By mixxamike
I had an epiphany! (actually I just remembered...
I had an epiphany! (actually I just remembered what I had done earlier)

This is what I was looking for; nice and simple:

x=`print $4 | sed 's/N/-/'`

With $4 being passed in from another...
26,250
Posted By mixxamike
KSH - Character Replacement
Hey all.

Easy question.

I have a (ksh) varaible x. It contains the following (for example): N557788

I want to replace the "N" with a "-".

I've done this before but for the life of me I...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy