Search Results

Search: Posts Made By: Nvizn
2,165
Posted By Nvizn
a="/file/location" b="/file/locationb" awk -v...
a="/file/location"
b="/file/locationb"
awk -v n=14 -v s="my text
my text
my text" 'NR == n {print s} {print}' $a > $b && mv $b $a
1,296
Posted By Nvizn
Solved! Can't believe I missed this. Thanks, all.
Solved! Can't believe I missed this. Thanks, all.
Showing results 1 to 2 of 2

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