Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 25 Jul 2002 @ 18:16:04 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Typeset question
 
From:   Geoffrey Rommel

  I'm writing a shell script for a process on my AP-node. I am trying to use a typeset command like the following:  


  typeset -l abc  


  This returns the following error:  


  UX:sh (test): ERROR: typeset: not found  



You will observe that the program reporting this error is "sh", not "ksh". When you run a shell script, it is run by the Bourne shell (sh) unless you direct it otherwise. Add the following line to the top of your script:

#!/bin/ksh

and it will work.


--wgr



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 27 Dec 2016