The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 02-16-2008
netmedic netmedic is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 12
I tweeked some things and I think I got it working but I need help with the output

This is what I got.

$3 !~/^[A-Z]$/ { print "Select " $1, $2 ; print "Assign " ENVIRON["BCKDRIVE"] }
(all on one line)
This prints the following:

Select Volume 0 Assign K:

What I need is for the Assign K: to be on a new line

Select Volume 0
Assign K: