bugmake - Bugs: bug #13053, multiline command arguments

 
 

bug #13053: multiline command arguments

Submitted by:  None
Submitted on:  Wed 11 May 2005 12:02:32 AM UTC  
 
Severity: 3 - NormalItem Group: Enhancement
Status: DuplicatePrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 3.80Operating System: POSIX-Based
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 03 Jun 2005 07:50:50 PM UTC, comment #1:

While you're correct that the description of bug #1332 is not identical to this, note that the response I gave, which quotes the POSIX definition, WILL allow the behavior you're looking for. So, I'm closing this as a duplicate and when bug #1332 is fixed, this one will be fixed as well.

Let me know if you don't think that the behavior specified by POSIX is sufficient to solve your problem.

Paul D. Smith <psmith>
Project Administrator
Wed 11 May 2005 12:02:32 AM UTC, original submission:

Far as I can tell, it's not currently possible to invoke from a makefile a command with a multiline argument

An unescaped newline terminates the command

An escaped newline produces only a singleline argument

'\n' is reproduced litterally in the argument

The attached makefile is three test case targets - foo, bar, baz - which each try invoking echo with a multiline argument, to produce a multiline file - but none succeed

Of course, echo is a pointless example, but for other tasks multiline command arguments are important - http://thread.gmane.org/gmane.comp.gnu.make.general/2701

Bug #1332 is similar to this, but not the same problem

Many sincere thanks for your work on free software!

Jack

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #2945:  Makefile added by None (152B - application/octet-stream - Test case targets - foo, bar, baz - try invoking echo with multiline argument to produce multiline file, but fail)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 03 Jun 2005 07:50:50 PM UTCpsmithStatusNone=>Duplicate
  Open/ClosedOpen=>Closed
Wed 11 May 2005 12:02:32 AM UTCNoneAttached File-=>Added Makefile, #2494

Back to the top


Powered by Savane 3.1-cleanup1