Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

from bash to sh ? 1

Status
Not open for further replies.

haneo

Programmer
Jan 2, 2002
274
CA
I have write a script on linux using bash:


VAR1=${VAR2:3:2} # var1= 2 caracters starting from N°3 from VAR2

this is not supported on sh shell( on hpux)
what is the equivalent expression sh ?

Thank you in advance.

CCNA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top