* David Henderson <[email protected]> [18.02.2016 17:14]:
> case "$(cat /tmp/md5.txt)" in
> '123456')
> ...implement updates for this particular version...
> ;;
> '234567')
> ...implement updates for this particular version...
> ;;
> esac
this is not POSIX and you can work around with e.g.:
#!/bin/sh
while read -r CRC; do
case "$CRC" in
'1234')
...
;;
'5678')
...
;;
esac
done </tmp/md5.txt
bye, bastian
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox