Re: [PATCH v4] cmd: cat: add new command

2022-08-21 Thread Roger Knecht
--- Original Message --- On Sunday, August 21st, 2022 at 07:35, Heinrich Schuchardt wrote: > > > On 8/19/22 10:35, Roger Knecht wrote: > > > Add cat command to print file content to standard out > > > > Signed-off-by: Roger Knecht rkne...@pm.me > > --- > > v4: > > - Return only values

Re: [PATCH v4] cmd: cat: add new command

2022-08-21 Thread Heinrich Schuchardt
On 8/19/22 10:35, Roger Knecht wrote: Add cat command to print file content to standard out Signed-off-by: Roger Knecht --- v4: - Return only values from enum command_ret_t in do_cat() - Use calloc() instead of malloc() for zero initialized memory - Make use of CONFIG_SYS_LONGHELP - Imp

Re: [PATCH v4] cmd: cat: add new command

2022-08-20 Thread Simon Glass
Hi Roger, On Fri, 19 Aug 2022 at 08:08, Roger Knecht wrote: > > Add cat command to print file content to standard out > > Signed-off-by: Roger Knecht > --- > v4: > - Return only values from enum command_ret_t in do_cat() > - Use calloc() instead of malloc() for zero initialized memory > - Mak

[PATCH v4] cmd: cat: add new command

2022-08-19 Thread Roger Knecht
Add cat command to print file content to standard out Signed-off-by: Roger Knecht --- v4: - Return only values from enum command_ret_t in do_cat() - Use calloc() instead of malloc() for zero initialized memory - Make use of CONFIG_SYS_LONGHELP - Improved error messages v3: - Disable 'cat' b