shell script problem

bin.wang at qkmtech.com bin.wang at qkmtech.com
Mon Nov 19 10:39:05 UTC 2018


hi everyone:

i use the shell script as follows
---------------------------------------------------------------------------
#! joel
date
log_cmd 1 8 0
log_idn "p-0-0505.0.17" "p-0-0506.0.17" "p-0-0507.0.17" "p-0-0508.0.17" "p-0-0505.0.18" "p-0-0506.0.18" "p-0-0507.0.18" "p-0-0508.0.18"    
log_cmd 1 8 1
date
---------------------------------------------------------------------------

the fourth line as follows has a problem , i can not get all part of the line

log_idn "p-0-0505.0.17" "p-0-0506.0.17" "p-0-0507.0.17" "p-0-0508.0.17" "p-0-0505.0.18" "p-0-0506.0.18" "p-0-0507.0.18" "p-0-0508.0.18"    

instead of 

i just get as follows,which cut off the last part. i think maybe the max value is 128 .

log_idn "p-0-0505.0.17" "p-0-0506.0.17" "p-0-0507.0.17" "p-0-0508.0.17" "p-0-0505.0.18" "p-0-0506.0.18" "p-0-0507.0.18" "p-0-05

how to change it to fit my situation?

thank you very much

best
ben



bin.wang at qkmtech.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20181119/562c5347/attachment.html>


More information about the users mailing list