[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Embellecedor de código fuente para shell-script



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 |
> | . . . . . . . acastro@ciberdroide.com   |
> +()()()---------()()()--------------------+
> 
> --
> To UNSUBSCRIBE, email to debian-user-spanish-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
Fernando.
{:-{D>

   "Hackers do it with fewer instructions."



Reply to: