Wednesday, 21 August 2013

Unnecessary indenting in bash

Unnecessary indenting in bash

I have been trying to paste text from one file to another in bash. Im
working in Putty.
To be more clear, I have a file hotel.txt with some lines of text that are
indented, thus have tabs and spaces. When I paste a few of those indented
lines into another file created using vi , they are pasted with a tab
extra each.
All my text is automatically indented with each line having an extra tab
as soon as I paste using the right click mouse button.
Does anyone have any solution?
Ive tried :set paste, but doesnt work with me apparantly.

No comments:

Post a Comment