The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 -->
  #2 (permalink)  
Old 11-20-2007
raghav1982 raghav1982 is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 101
Quote:
Originally Posted by raghav1982 View Post
Hi All

i am writing a shell script which would generate some lines based on the user input

/* -----------------sample_ls ----------------- */

insert_job: sample_ls job_type: c
command: ls -l
machine: unixboxa
owner: user123
permission: wx,mx,we,me
description: "runs an ls -l as user123"
job_terminator: 1
alarm_if_fail: 0

user input : jobname (sample_ls)
machine name
owner
description

can anyone help me on this


Just wanted to be clear , just i wanted to enter the input , it would generate these lines