Search Results

Search: Posts Made By: allabiba
4,862
Posted By allabiba
How can I set replace strings? I meen how can I...
How can I set replace strings?
I meen how can I set "a" and "b" in that code?
4,862
Posted By allabiba
1- I tried to turn text to one array and replace...
1- I tried to turn text to one array and replace them something like this:
text=(
a a a a a a a a a a
a a a a a a a a a a
)
Get the number of items

number=${#text[@]}
Get half of it...
4,862
Posted By allabiba
Replace randomly occurrences bash
I want to replace only percent of occurrence of a pattern (not all, for example, half of occurrence of a pattern) in my text and it replaces randomly occurrences (or for example multiple of 3...
Showing results 1 to 3 of 3

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