shell script problem

bin.wang at qkmtech.com bin.wang at qkmtech.com
Mon Nov 19 11:21:07 UTC 2018


>Hi!
>
>- Where is this shell script from? (It doesn't really look like a shell script to me in any case, nor something you'd run in the RTEMS Shell.)
>- What are you trying to do? Where are you running the script and seeing the "cut off" at 128 characters?
>
>I don't see the script anywhere in any of the RTEMS repos yet (https://github.com/search?q=org%3ARTEMS+log_cmd&type=Code).

hi  
 
rtems can run shell script .i just give my script. 

log_cmd and log_idn is the shell command which i defined ,so i can use this script and do not need to input every command every time .

now i have no time to find the solution in the source. so i ask other people which is familar with the rtems shell script

best 
ben


bin.wang at qkmtech.com
 
From: Amaan Cheval
Date: 2018-11-19 19:23
To: bin.wang
CC: users
Subject: Re: shell script problem
Hi!

- Where is this shell script from? (It doesn't really look like a shell script to me in any case, nor something you'd run in the RTEMS Shell.)
- What are you trying to do? Where are you running the script and seeing the "cut off" at 128 characters?

I don't see the script anywhere in any of the RTEMS repos yet (https://github.com/search?q=org%3ARTEMS+log_cmd&type=Code).

On Mon, Nov 19, 2018 at 4:10 PM bin.wang at qkmtech.com <bin.wang at qkmtech.com> wrote:
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
_______________________________________________
users mailing list
users at rtems.org
http://lists.rtems.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20181119/9c8ea2bc/attachment-0002.html>


More information about the users mailing list