bugGNU Parallel - build and execute command lines from standard input in parallel - Bugs: bug #33170, {//} should return the same as...

 
 

bug #33170: {//} should return the same as dirname

Submitted by:  Ole Tange <tange>
Submitted on:  Wed 27 Apr 2011 02:23:12 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 27 Apr 2011 03:23:27 PM UTC, comment #1:

Implemented in [a63e258bb1d305].

Ole Tange <tange>
Project Administrator
Wed 27 Apr 2011 02:23:12 PM UTC, original submission:

{//} should return the same as dirname

As for the corner cases, the least-surprising and probably easiest
thing to do is emulate dirname(1), which (I'm told) is exactly what
Perl's File::Basename does.

This makes sense. It seems File::Basename is in perl 5.003, so it
should be safe to use that.

Ole Tange <tange>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tange (Submitted the item)
  •  

    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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 27 Apr 2011 03:23:27 PM UTCtangeOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1