Search Results

Search: Posts Made By: puttster
1,261
Posted By puttster
What if I wanted to add a word such as IT after...
What if I wanted to add a word such as IT after the first character and if theres 3 characters, after the 2nd character?

output would be:

G, it H
G, H it P
G, H, P it L

I'm thinking that...
1,261
Posted By puttster
taking characters and counting them
Nevermind, I figured out a way using the sed command. But I forget the basic way of counting characters within a variable :(
Showing results 1 to 2 of 2

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