print only last column for pod
This commit is contained in:
parent
e3e85cf38e
commit
82a2deffa0
@ -29,7 +29,7 @@ mapfile -t pod_id < <(echo "$search" | grep -E "[[:space:]]$app_name([[:space:]]
|
||||
containers=$(
|
||||
for pod in "${pod_id[@]}"
|
||||
do
|
||||
echo "$search" | grep "$pod" | awk '{print $7}'
|
||||
echo "$search" | grep "$pod" | awk '{print $(NF)}'
|
||||
done | nl -s ") " | column -t)
|
||||
while true
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user