Search Results

Search: Posts Made By: baldrick
1,912
Posted By baldrick
10 points for Franklin52! It worked!:b: (i...
10 points for Franklin52! It worked!:b:

(i just had to add an additional .* to $find_str in the awk command, like i did the sed command)


awk -v f="$find_str.*" -v r="$repl_str" '{sub(f,r)}1'...
1,912
Posted By baldrick
what i forgot to mention, i'm using MKS Toolkit...
what i forgot to mention, i'm using MKS Toolkit to use unix scripts on a windows xp computer, maybe it's not 100% the same?
thanks for looking into it
dankje;)
1,912
Posted By baldrick
Problem with sed and "F2..."
Hello,

i have following code lines in my ksh script:


find_str="TRENDROW|"$plaats"|"$lijn"|"
repl_str="TRENDROW|"$plaats"|"$lijn"|"$tag"|"$cbp"|"$ovl"|"$eu"|"$descr"|"

echo $find_str
echo...
Showing results 1 to 3 of 3

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