9 lines
193 B
Bash
Executable File
9 lines
193 B
Bash
Executable File
#!/bin/bash
|
|
set -o nounset # Treat unset variables as an error
|
|
set -e
|
|
|
|
if [ -e "$1" ]
|
|
then
|
|
awk '/Activate tc/ {print $5,$8,$11,$14}' "$1" > segment_data.log
|
|
fi
|