Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Bourne / bash problem
- Date: Sat, 4 Apr 2009 23:29:30 +0900
- From: Dave Brown <dagbrown@example.com>
- Subject: Re: [tlug] Bourne / bash problem
- References: <c0f4e2b00904040115k14c6f9dcma0448e9904c8fd2f@example.com> <5ffffd040904040413p5af9e2d6yf82fda9c0397eec1@example.com>
- User-agent: Mutt/1.5.19 (2009-01-05)
On Sat, Apr 04, 2009 at 08:13:21PM +0900, Romeo Theriault wrote: > > somewhere, I cannot escape the end-of line: > > [...] > > a-command \ > > # a comment \ > > another-command # another comment \ > > [...] > > > > Do you think there would be a way to include comments in such a situation? > > > According to my "Portable Shell Programming" book. These situations will not > work with comments: > > echo "This will not work." \<space> > echo "This will not work." \ # Comment > echo "This will not work." # Comment \ > > The above mentioned book is based around the borne shell (sh) but I don't > think that bash changed any rules around comments. Verified as not working in bash in my own experimentation. It would seem there's no way of interspersing comments with parameters, except possibly by (ugly) assigning them to variables and commenting that. Zannen. --Dave
- Follow-Ups:
- Re: [tlug] Bourne / bash problem
- From: Bruno Raoult
- References:
- [tlug] Bourne / bash problem
- From: Bruno Raoult
- Re: [tlug] Bourne / bash problem
- From: Romeo Theriault
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Bourne / bash problem
- Next by Date: Re: [tlug] [Fwd: [Bug 1240] no SCIM applet (for japanese input) for root]
- Previous by thread: Re: [tlug] Bourne / bash problem
- Next by thread: Re: [tlug] Bourne / bash problem
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links