mainThe GNU Bourne-Again SHell - Support: sr #105519, possibility to execute directories.

 
 

sr #105519: possibility to execute directories.

Submitter:  Sébastien MICHEL <zetux>
Submitted:  Mon 21 Aug 2006 09:56:33 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  1 - Wish Status:  Done
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 26 Nov 2013 02:35:08 AM UTC, comment #1: 

There's now an autocd feature for interactive mode.  Presumably it didn't exist back in 2006, but it does now, so this item should be closed.

shopt -s autocd

Peter Cordes <pcordes>
Mon 21 Aug 2006 09:56:33 AM UTC, original submission:  

Hey,

   I wish to execute directories under bash. Actually if you want to go to a directory you need to execute the builtin command "cd". Why can we juste execute a directory.
Example:
polaris:~# /etc/
polaris:/etc# ../usr/
polaris:/usr#

You can find attached patch example for execute_cmd.c (made from bash 3.1-5 sources from debian/sid package).

Regards,
    Sebastien MICHEL

Sébastien MICHEL <zetux>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #10563:  execute_cmd.c.patch added by zetux (622B - application/octet-stream - execute_cmd.c patch to execute directories)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chet (Updated the item)
  • -email is unavailable- added by pcordes (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-12 chet StatusNone Done
    2006-08-21 zetux Attached File- Added execute_cmd.c.patch, #10563
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code