View difference between Paste ID: 5SXBnNLK and QH1vTTwY
SHOW: | | - or go back to the newest paste.
1
#!/bin/bash
2
3
name="name"
4-
id=$(cat /opt/ncu/sys/ids/uid ) >/dev/null
4+
5-
ID=$(echo "${id:5:9}" )
5+
read id </opt/ncu/sys/ids/uid
6-
echo "string=$"  ## output: string=123
6+
ID="${id:5:9}"
7-
fullname="$ID$name"   ##output: name
7+
fullname="$ID$name"
8