Govinderjit Dhinsa [mailto:[EMAIL PROTECTED]] wrote:
> I can not get the printf to print, using the following 
> relevant line of
> code:
> printf sortcode $fields[0],$fields[5],$fields[70],fields[77];
> 
> I am missing something in-between;
> sortcode *********************$fields[0]
> 

Is sort code a filehandle (i.e. obtained from open)?

If not then you need a comma (argument separator) and some prefix to
sortcode if it is a variable.

Or do you want:

printf "sortcode $fields[0]$fields[5]$fields[70]fields[77]";

?

Richard Cox 
Senior Software Developer 
Dell Technology Online 
All opinions and statements mine and do not in any way (unless expressly
stated) imply anything at all on behalf of my employer

Reply via email to