help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Using <<-'EOF' with python


From: Patrick Hess
Subject: Re: [Help-bash] Using <<-'EOF' with python
Date: Wed, 18 May 2016 12:52:21 +0200
User-agent: KMail/4.14.3 (FreeBSD/10.1-RELEASE-p34; KDE/4.14.3; amd64; ; )

Peng Yu wrote:
> So why TABs can not be used in `python <<-EOF`?

Because the <<- instructs bash to remove any leading tabs.
Use << instead of <<- to preserve them.

Patrick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]