Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to copy tab-delimited text to clipboard from within a unix shell while preserving the tabs?
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COI love tabs too, but I don't see that you're going to be able to come up with technique that will work for 'newbie users' with no telling what kind of software that they use that is installed and don't even know about. Some windowing systems perserve tabs (I'm almost sure), but most convert tabs to spaces permanently. You'd have to add a filter to your copy/paste that was tab-space aware. Finally, sorry, but this isn't a programming question. Try superuser.com or webmasters.stackexchange.com.
      singulars
    2. COYou shouldn't have to do anything. If there are tabs in the text you are copying then it's tabs you'll get. HOWEVER, many text editors have options to convert tabs to spaces, so I'd bet whichever editor you're using is converting the tabs on insert. Which editor (and which terminal emulator) are you using? Exactly how are you selecting, copying and pasting (mouse, then middle click, mouse, crtl+shift+c, crtl+shift+v etc.)?
      singulars
    3. COThanks for the comments! To clarify, I am using PuTTY on windows. I either view a file in Vim and copy highlighted text, or I `cat` or `head` the file and copy the text from there. In either case, I the text is already devoid of tabs, I can tell when even highlighting the text because the cursor can select each individual space between the words (where the tabs should be). Is there a setting in PuTTY to tell it to preserve these tabs?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload