Re: tabs ignored in here document

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On 05/05/2017 04:46 PM, John R Pierce wrote:
On 5/5/2017 1:41 PM, Robert Moskowitz wrote:

I just did a test where I created a file, xit, with the here document in it and ran it with ./xit

This way, the tabs remained. So the 'problem' is when I am pasting the same lines (with tabs) into the terminal window. There bash is interpreting the tabs and not feeding them into the here doc processing.


yes, bash interprets stdin differently than not stdin.


ARGH!!!

So can I control this? I want the howto to be a cut-n-paste operation. And I want to support real tabs not a bunch of spaces as I had previously...


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux