Search Results

Search: Posts Made By: sunn_hps
2,847
Posted By sunn_hps
sed truncating last line if EOF is not with newline
sed 's|^xyz.abc *= *.*|xyz.abc=60|' /test/myFile.properties > /test/myFile.properties1
myFile.properties has the last line as xyz.abc=23 does not end with newline.

When I run this command the...
Showing results 1 to 1 of 1

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