Search Results

Search: Posts Made By: gandarez
11,585
Posted By gandarez
Script ? Where ?
Script ? Where ?
2,504
Posted By gandarez
Good!! [32]/home/t690177> cat arq1 1 ...
Good!!


[32]/home/t690177> cat arq1
1
2
3
[32]/home/t690177> cat arq2
2
[32]/home/t690177> join -v 1 arq1 arq2
1
3
[32]/home/t690177>
2,504
Posted By gandarez
I think that it works: #!/bin/ksh ...
I think that it works:


#!/bin/ksh
while read line
do
echo $line
grep -c $line $mydatafile2
if [ $? -ne 0 ]; then
echo "$line not in file2"
fi
done < $mydatafile1
Forum: Red Hat 07-20-2009
3,310
Posted By gandarez
This prints a count of records by line... Like: ...
This prints a count of records by line... Like:
Line1=4
Line2=4
Line3=5
...

> cat t1.txt
a b 1 2 z y 9 8
c b 1 2 z y 9 8
> nawk -F"\t" '{ print...
8,792
Posted By gandarez
CHECKERR=`grep -c 226 /tmp/ftp.log` This...
CHECKERR=`grep -c 226 /tmp/ftp.log`

This works ??
2,720
Posted By gandarez
My question is: awk '{ run shell script in...
My question is:

awk '{ run shell script in }' file1

Example :

awk '{ sh shell1.sh var1 }' file1

it's possible ?

tks
2,720
Posted By gandarez
Run Shell Script into AWK
Hi Guys..

How to run a Shell Script into AWK instruction :confused::confused:
5,497
Posted By gandarez
I dont generate a new file in file system... ...
I dont generate a new file in file system...

File1 = 2.4Gb
File System = 4Gb

Whats the solution ??

[!!sorry for my english!!]
5,497
Posted By gandarez
ohh.. with this command i found the text...
ohh..

with this command i found the text 'FL' in 55th column...

nawk -F"\t" ' { if ($55 ~ /FL/) print $0} ' FILE 1>exit.txt 2>exit.txt

But, I need mix the command "nawk" with "sed", Im...
5,497
Posted By gandarez
Nothing:confused::confused:
Nothing:confused::confused:
5,497
Posted By gandarez
i got so: nawk -F"\t" ' { if ($55 ~ /FL/)...
i got so:

nawk -F"\t" ' { if ($55 ~ /FL/) print $0} ' FILE 1>exit.txt 2>exit.txt

But i have a problem!! :(

i need to substitute two TABs at end of the 55th column to one TAB

example:
...
Forum: Solaris 09-24-2008
6,784
Posted By gandarez
i got so: nawk -F"\t" ' { if ($55 ~ /FL/)...
i got so:

nawk -F"\t" ' { if ($55 ~ /FL/) print $0} ' FILE 1>exit.txt 2>exit.txt
Forum: Solaris 09-24-2008
6,784
Posted By gandarez
this command returns all contains 'FL' and ignore...
this command returns all contains 'FL' and ignore column 55th!!
5,497
Posted By gandarez
find the string in the 55th column [awk]
hi people,

i need a help!!!!

i'm trying use a awk command, but i dont have success!..

i need find the string 'FL' in 55th column in a length file of 2.4Gb!!!

Attempts:
awk -F"\t" ' { if...
Forum: Solaris 09-24-2008
6,784
Posted By gandarez
find the string in the 55th column [awk]
hi people,

i need a help!!!!

i'm trying use a awk command, but i dont have success!..

i need find the string 'FL' in 55th column in a length file of 2.4Gb!!!

Attempts:
awk -F"\t" ' { if...
Showing results 1 to 15 of 15

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