You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Resolved JIRA)" <ji...@apache.org> on 2011/11/30 05:31:41 UTC

[jira] [Resolved] (KARAF-1060) use bash file extenstions: karaf -> karaf.sh

     [ https://issues.apache.org/jira/browse/KARAF-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-1060.
-----------------------------------------

    Resolution: Won't Fix

The important part is the header (#!/bin/sh).

Using pure /bin/sh allow Karaf to work with any shell (bash and zsh on Linux, csh and ksh on Solaris/AIX).

The extension doesn't make sense on Unix.

I don't think it's a good reason to change it if the purpose is to have a support in an editor.

More over, I'm quite sure that any "good" shell editor could detect the header ;)
                
> use bash file extenstions: karaf -> karaf.sh
> --------------------------------------------
>
>                 Key: KARAF-1060
>                 URL: https://issues.apache.org/jira/browse/KARAF-1060
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Andrei Pozolotin
>
> currently, windows /bin files have extensions, such as
> karaf.bat
> but unix, do not:
> karaf
> I suggest to use, instead:
> karaf.sh
> so that I can associate *.sh with bash editors like this
> http://sourceforge.net/projects/shelled/
> :-)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira