Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I hope
- final.csv contains below content
- 0 17.92204 -3.017933 35.14229
- 20.89817 -2.37854 66.51003
- 1 18.27151 -3.179997 35.20044
- 21.48396 -2.461451 66.48988
- 2 18.22776 -3.566021 34.87167
- 21.78348 -2.575202 66.51389
- Command used to get desired output
- cat final.csv | sed '/^$/d '|sed -r “s/\s+/ /g" |sed "N;s/\n/ /g"
- 0 17.92204 -3.017933 35.14229 20.89817 -2.37854 66.51003
- 1 18.27151 -3.179997 35.20044 21.48396 -2.461451 66.48988
- 2 18.22776 -3.566021 34.87167 21.78348 -2.575202 66.51389
Add Comment
Please, Sign In to add comment