Search Results

Search: Posts Made By: APT_3009
1,303
Posted By MadeInGermany
You can query the number of the shell's...
You can query the number of the shell's background jobs with the jobs command.
#!/bin/ksh
maxjobs=3
while read line <&3
do
while [ `jobs | wc -l` -ge $maxjobs ]
do
sleep 5;
done
...
1,890
Posted By Yoda
awk '{a[$1]++;b[$1]=$0;next}END{for(i in a){...
awk '{a[$1]++;b[$1]=$0;next}END{for(i in a){ if(a[i]==1) print b[i] }}' file
3,649
Posted By Scott
It was not my intention to insult to demean your...
It was not my intention to insult to demean your efforts. I hid your initial post as I wanted to determine if the thread was related to homework, and hadn't done that by the time you reposted. I...
Showing results 1 to 3 of 3

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