mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
8 lines
152 B
Bash
Executable File
8 lines
152 B
Bash
Executable File
#!/bin/bash
|
|
key=$1
|
|
shift
|
|
line=$(grep -m1 "^$key=" /etc/droiddeck/strings 2>/dev/null)
|
|
text=${line#*=}
|
|
[ -n "$line" ] || text=$key
|
|
printf "$text\n" "$@"
|