Search Results

Search: Posts Made By: solaris21
5,674
Posted By solaris21
Remove character \r and \n in awk
Hi Everybody:


I need your help, please...
I have this file *.txt



0000 | 16010201 22000000 67892000 00000000 00000000 00000100 72246681 28E08236
| ~~~~"~~~g~ ~~~~~~~~~~~~~r$f~(~~6...
1,780
Posted By solaris21
Thanks Don Cragun. Regards from Mexico
Thanks Don Cragun.

Regards from Mexico
1,780
Posted By solaris21
awk debugger in Windows
Hi Everybody.

I use Linux and Windows, I installed gawk in Windows 10, Could you help me?, please... Is there a way of debugging a awk program in that Operative System?.

Because I don't see the...
3,042
Posted By solaris21
Hi Scrutinizer/Don Cragun: you're right!!, I...
Hi Scrutinizer/Don Cragun:

you're right!!, I put the function as you said me

function quita_ceros(cad, k)

Thanks to all, Regards from Mexico
3,042
Posted By solaris21
hi Sea: Ok, I'm sorry, I am waiting someone...
hi Sea:

Ok, I'm sorry, I am waiting someone i can help with this topic, please.

Thank you.
3,042
Posted By solaris21
Local variable in functions (gawk)
Hi Everybody :)

I need your help, because i know a local variable in a function for example k, it is different of other variable(with the same name k) this a global variable. Is that right?
...
1,621
Posted By solaris21
Mention file include on command line: awk
Hi All:

I need your help please.

I have a include file *.awk , and I would want to know if it's there a option's awk where I can use this file include, for example:

awk -f...
13,570
Posted By solaris21
thanks for your help Akshay Hegde :b: ...
thanks for your help Akshay Hegde :b:


function Cmd(cmde,result){
while ((cmde | getline line) > 0)
{
...
13,570
Posted By solaris21
Hi I apreciate your helping, I only want to...
Hi

I apreciate your helping, I only want to ask another question, please


byte=substr(cadena,pos,2);
cmd = "grep -n "byte" mapeo.txt"
system(cmd);


if I want to take the output of...
13,570
Posted By solaris21
How can I pass arguments to system command in a awk script?
Hi

I need your help, please

How can I pass arguments to system command in a awk script?... for example:


byte=substr(cadena,pos,2);
system("grep -n byte mapeo.txt");


Does it exist a...
1,893
Posted By solaris21
Hi Don Cragun: You apologize to me, I will...
Hi Don Cragun:

You apologize to me, I will follow the rules of that foro.
I undestand, It isn't possible define a user-defined function within the END block, thank you for helping.

I started...
1,893
Posted By solaris21
Define procedure in block END in awk
Hi :)

Yo quisiera saber si se puede definir procedimientos dentro del bloque END.
for example ...

BEGIN {i=1}
{
if ($1 == $2)
cadena[i] = $3
}

END {
find_letter(cadena[i])
}
...
Showing results 1 to 12 of 12

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