Hi Michael,

> Hi all
> 
> Trying to understand how to get the last result. For example:
> sspi 1:0.3 24 700002; sspi 1:1.3 24 730000

The $? shall do the job.

=> true
=> echo $?
0
=> false
=> echo $?
1

Or have I misunderstood something?

> 
> Now I need to have the last output of the last command to compare in
> one script. Any idea?
> 
> Michael
> _______________________________________________
> U-Boot mailing list
> [email protected]
> https://lists.denx.de/listinfo/u-boot




Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]

Attachment: pgp3fS7aYPGHv.pgp
Description: OpenPGP digital signature

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to