1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 15:03:53 +01:00

list-ttys: Add punctuation between name and serial

This commit is contained in:
Koen Zandberg 2019-09-30 18:28:32 +02:00
parent 68aae9c848
commit 6acb523d35
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

View File

@ -28,5 +28,5 @@ for basedev in $(find /sys/bus/usb/devices/ -regex "/sys/bus/usb/devices/[0-9]+[
serial=$(cat "${parent}/serial" 2>/dev/null)
manuf=$(cat "${parent}/manufacturer" 2>/dev/null)
product=$(cat "${parent}/product" 2>/dev/null)
echo "${parent}: ${manuf} ${product} serial: '${serial}', tty(s): ${ttys}"
echo "${parent}: ${manuf} ${product}, serial: '${serial}', tty(s): ${ttys}"
done