Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TDS="$(grep 'Logfile started' process.log | awk '{print $3,$4}' | cut -d: -f2)"
- echo "$TDS"
- 29.06.2019 23
- cut -d: -f2-
- cut -d: -f2
- TDS="$(grep 'Logfile started' process.log | awk '{print $3,$4}' | cut -d: -f2-)"
- echo "$TDS"
- $ echo ":29.06.2019 23:03:17" | cut -c 2-
- 29.06.2019 23:03:17
- $ echo ':29.06.2019 23:03:17' | sed 's/^://'
- 29.06.2019 23:03:17
- $ echo ':29.06.2019 23:03:17' | awk -F'^:' '{print $2}'
- 29.06.2019 23:03:17
- $ echo ':29.06.2019 23:03:17' | grep -Po '^:K.*'
- 29.06.2019 23:03:17
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement