expand logic for > and <


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting expand logic for > and <
# 1  
Old 08-10-2007
expand logic for > and <

Hi

Input

A12345678901234567890 < A12345678901234567890 AND C12345678901234567890 < D12345678901234567890 AND E12345678901234567890 > F12345678901234567890

If the length of the line at any point exceed more than 60 chars it should come to next line

but it should not break a variable name


Out put should be
A12345678901234567890 < A12345678901234567890 AND
C12345678901234567890 < D12345678901234567890 AND
E12345678901234567890 > F12345678901234567890

Last edited by pbsrinivas; 08-13-2007 at 04:45 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. AIX

Expand LV

Under the df command, one of my logical volumes, /dev/hd4, was showing 100% Used, so I added 2 logical partitions, but its still showing 100% used. Is there a separate command I need to execute to reallocate? (5 Replies)
Discussion started by: markper
5 Replies
Login or Register to Ask a Question
SLUGIMAGE(1)						      General Commands Manual						      SLUGIMAGE(1)

NAME
slugimage - Manipulate NSLU2 firmware images SYNOPSIS
slugimage [-p|-u] [options] DESCRIPTION
slugimage can be used to create or unpack NSLU2 firmware images. OPTIONS
-d, --debug Turn on debugging output -q, --quiet Turn off status messages -u, --unpack Unpack a firmware image -p, --pack Pack a firmware image -l, --little Convert Kernel and Ramdisk to little-endian -i, --input Input firmware image filename -o, --output Output firmware image filename -b, --redboot Input/Output RedBoot filename -k, --kernel Input/Ouptut Kernel filename -s, --sysconf Input/Output SysConf filename -r, --ramdisk Input/Output Ramdisk filename(s) -f, --fisdir Input/Output FIS directory filename -y, --payload Input/Output Payload filename -t, --trailer Input/Output Trailer filename -e, --ethaddr Set the Ethernet address AUTHOR
This man page was written by Joey Hess, <joey@kitenet.net>. SLUGIMAGE(1)