Antonio Castro wrote:
> 
> Yo para lenguaje C uso 'ident' que la verdad te deja los fuentes
> de C muy claritos.
> 
> El caso es que necesitar�a algo parecido para shell-script y no
> conozco nada de ese tipo.
> 

Te dir�a que los crearas con emacs, xemacs :) pero tal vez no
es lo que quieres...

Buscando en google indent shell script xemacs he encontrado esto:

 12. Editing Shell Script (sh, ksh, bash) Code

This mode is used for editing shell scripts written for the Bourne (sh),
Korn (ksh) or Bourne Again (bash) shells. It is NOT automatically
invoked for any particular file extension. To invoke this mode while
editing a file, type M-x ksh-mode.

The following key mappings are defined:

linefeed        reindent-then-newline-and-indent
tab     ksh-indent-line
C-c     << Prefix Command >>
C-i     ksh-indent-line
C-j     reindent-then-newline-and-indent
M-tab   ksh-complete-symbol
M-C-i   ksh-complete-symbol
C-c tab         ksh-completion-init-and-pickup
C-c C-i         ksh-completion-init-and-pickup


Saludos...


> --
> Un saludo
> Antonio Castro
> 
>        /\     /\   Ciberdroide Inform�tica
>          \\W//  << http://www.ciberdroide.com >>
>         _|0 0|_
> +-oOOO-(___o___)-OOOo---------------------+
> | . . . . U U . Antonio Castro Snurmacher |
> | . . . . . . . [EMAIL PROTECTED]   |
> +()()()---------()()()--------------------+
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Fernando.
{:-{D>

   "Hackers do it with fewer instructions."

Responder a