bugmake - Bugs: bug #111, '@' hides useful info sometimes,...

 
 

bug #111: '@' hides useful info sometimes, needs --print_all_cmds

Submitter:  Paul D. Smith <psmith>
Submitted:  Sat 20 Apr 2002 09:05:35 PM UTC
   
 
Severity:  1 - Wish Item Group:  Enhancement
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.79 Operating System:  Any
Fixed Release:  4.0 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 07 Sep 2010 01:42:46 PM UTC, comment #2: 

A new flag --trace is available in the next release.

Paul D. Smith <psmith>
Group administrator
  Spam posted by sevanath
Sat 20 Apr 2002 09:05:35 PM UTC, original submission:  

When debugging shell scripts that use '@', I sometimes need to know what is happening.  Using -n tells me what will happen next time I run it, but not what is happening right now when the failure happens.  I've added a --print_all_cmds option (-P) that prints out any shell command as it's executing, ignoring '@', .SILENT, etc.  Doc update is included with the attached patch, and the doc explains the usage model that gets me here (which, briefly, is to use @ to hide complexities that don't change so I can more easily see the ones that do -- I know others who use this style, although it is admittedly a minority one).  This has helped me debug a lot of makefile stuff, and so seems quite useful.  Tests for the new option are also included.

Reported via GNATS by -email is unavailable-

Paul D. Smith <psmith>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #2:  print-all-patch.tar.gz added by psmith (2KiB - application/gzip - Patch containing "print-all" functionality)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by sevanath (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-09-07 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.0

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code