shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Korn Shell


From: Tiago Peczenyj
Subject: Korn Shell
Date: Wed, 25 May 2005 20:48:25 -0300

pessoal, eu estou tentando fazer o seguinte:

${var:N:tam}    Retorna 'tam' caracteres à partir da posição 'N'

por exemplo
BAR="================="
echo ${BAR:2:5}

mas quando executo o script recebo a informação BAD SUBISTITUTION

O que pode estar havendo ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]