Search Results

Search: Posts Made By: Scrutinizer
2,396
Posted By Scrutinizer
Do you mean something like this? awk -F: ' ...
Do you mean something like this?

awk -F: '
NR==FNR {
A[$3]=$1
next
}

$4 in A {
$4=A[$4]
}

{
printf "%-20s %-10s %-30s\n", $1,$4,$7
}
' /etc/group...
Showing results 1 to 1 of 1

 

Featured Tech Videos

All times are GMT -4. The time now is 01:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy