atom_jelly
asked on
awk insert newline after first two lines
Trying to format command output and e-mail for Solaris updates script. Example:
PUBLISHER PACKAGES STATUS UPDATED
solaris 4401 online 2013-10-15T18:17:38.417509 Z
No updates available for this image.
Trying to use awk and insert a single space after first two lines. To look like this in my e-mail:
PUBLISHER PACKAGES STATUS UPDATED
solaris 4401 online 2013-10-15T18:17:38.417509 Z
No updates available for this image.
PUBLISHER PACKAGES STATUS UPDATED
solaris 4401 online 2013-10-15T18:17:38.417509
No updates available for this image.
Trying to use awk and insert a single space after first two lines. To look like this in my e-mail:
PUBLISHER PACKAGES STATUS UPDATED
solaris 4401 online 2013-10-15T18:17:38.417509
No updates available for this image.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER