On Mon, Nov 19, 2018, 5:22 AM [email protected] <[email protected] wrote:
> >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 > The commands are your own and not producing the output you expect. Unless the shell command itself exceeds the line buffer limit, it is an issue on your side. Break at the entry point to your command and print the arguments. --joel > best > ben > ------------------------------ > [email protected] > > > *From:* Amaan Cheval <[email protected]> > *Date:* 2018-11-19 19:23 > *To:* bin.wang <[email protected]> > *CC:* users <[email protected]> > *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 [email protected] <[email protected]> > 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 >> >> ------------------------------ >> [email protected] >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.rtems.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > [email protected] > http://lists.rtems.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.rtems.org/mailman/listinfo/users
