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 -->
  #1 (permalink)  
Old 01-26-2008
smr_rashmy smr_rashmy is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 41
Need to create file from shell scripting

Hi,
I want to create a file from a shell script. the data for the file will come from variables. that is the file format is like,

var1-value var2_value ...

that is, var1_value should be placed in first 10 spaces and var2_value should be placed in next 8 columns like that.

is there any idea to do like this?

Thanks in advance,
Raja.