From: moonhkt on
Hi All

AIX 5.3

Which Program can reformat and indent ksh or sh shell script ?

moonhkt
From: Greg Russell on
"moonhkt" <moonhkt(a)gmail.com> wrote in message
news:881d260d-92ed-472e-9fbd-535ff2fc63fa(a)z1g2000prc.googlegroups.com...

> Which Program can reformat and indent ksh or sh shell script ?

awk '{print "\t"$0}' junk.sh


From: Chris F.A. Johnson on
On 2010-03-20, moonhkt wrote:
> Hi All
>
> AIX 5.3
>
> Which Program can reformat and indent ksh or sh shell script ?

Emacs (and probably other text editors).

--
Chris F.A. Johnson, author <http://shell.cfajohnson.com/>
===================================================================
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
===== My code in this post, if any, assumes the POSIX locale =====
===== and is released under the GNU General Public Licence =====