For example suppose i have
1 the cat jumps
2 over the moon
I would like the result
1 the cat jumps over the moon
In general how can I move line X onto the end of line Y. A solution that would alllow something like
1 The fat cat
2 jumps high
3 over the sky
4 is well behaved
Is there a command that takes line X line Y as input and appends the content of line Y onto line X. In this example if X=1 and Y =4 we get
command(1,4)
1 The fat cat is well behaved
2 jumps high
3 over the sky
J
.