Search Results

Search: Posts Made By: tho99
1,629
Posted By tho99
@ivhb: That's exactly the problem I've...
@ivhb: That's exactly the problem I've experienced.

According to franklin52, it's the best way to fill the FS value first with the -F_ appendix:
awk -F_ '[...]'
1,629
Posted By tho99
hey franklin that works fine, thank you very...
hey franklin
that works fine, thank you very much for your help
1,629
Posted By tho99
Hey, the problem is that i want to use awk,...
Hey,
the problem is that i want to use awk, because i need to compare numbers of file names:

test1_150.txt
test2_120.txt
test3_180.txt

find /opt/test* | awk '{FS="_"} $2>130 {print $1}'i...
1,629
Posted By tho99
need help with awk
Hello,
when i try to combine find and awk.
In the directory /opt there are 2 files:
test1_data.txt
test2_error.txt


find /opt/test* | awk '{FS="_"} {print $1}'
and i get:

test1_data.txt...
1,668
Posted By tho99
chkcount variable in bash reserved?
Hi,
im experiencing a really strange thing:
_____________________________
#!/bin/bash

chkcount=0
chkcountmax=3

while ((chkcount < chkcountmax))
do
echo "chkcount=$chkount"
...
5,876
Posted By tho99
thank you for your fast answer.
thank you for your fast answer.
5,876
Posted By tho99
race condition with wait() function
Hi,
I'm currently writing a bash script, that starts multiple threads:
____________________
#!/bin/bash
loop=0
while((loop!=10))
do
thread &
((loop++))
done

#wait for all...
Showing results 1 to 7 of 7

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