Prev: trying to parametrize find ...
Next: Want to insert some stuff as a new line after the line matching regexp.
From: moonhkt on 19 Mar 2010 21:09 Hi All AIX 5.3 Which Program can reformat and indent ksh or sh shell script ? moonhkt
From: Greg Russell on 19 Mar 2010 21:30 "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 20 Mar 2010 01:43
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 ===== |