mirror of
https://github.com/aljazceru/Android-nRF-Toolbox.git
synced 2025-12-21 00:14:24 +01:00
9 lines
172 B
Bash
Executable File
9 lines
172 B
Bash
Executable File
#!/bin/bash
|
|
|
|
str="$1"
|
|
|
|
IFS='%' # space is set as delimiter
|
|
read -ra ADDR <<< "$str" # str is read into an array as tokens separated by IFS
|
|
echo "${ADDR[0]}"
|
|
|