Link to home
Start Free TrialLog in
Avatar of atom_jelly
atom_jellyFlag for United States of America

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.417509Z
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.417509Z

No updates available for this image.
ASKER CERTIFIED SOLUTION
Avatar of Dave Gould
Dave Gould

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of atom_jelly

ASKER

Thanks.