Search Results

Search: Posts Made By: talk2pawee
1,986
Posted By talk2pawee
Hi, Much Regards and really appreciated. ...
Hi,

Much Regards and really appreciated.

Nawk worked it out:b:

Ahsante Sana - That's, Thank You Very Much in Swahili...!
1,986
Posted By talk2pawee
Response:
Hi,

Not quite there.

I'm getting an error:

awk: Syntax error near line 4
awk: bailing out near line 4

Regards,
1,986
Posted By talk2pawee
Sorry for the mixup. I meant Pad with zeros ;) ...
Sorry for the mixup.
I meant Pad with zeros ;)

Hope it's clearer
1,986
Posted By talk2pawee
Format problems with fields
The following output has a space as the Field Separator.

I need:

$1 Set the field width to 15 then zero-fill to the right.
$6 Set the field width to 15 then zero-fill to the left.

01-10016...
1,744
Posted By talk2pawee
Can you please explain the command.. ...
Can you please explain the command..

$4=sprintf("%d%s%s",arr[3]+2000,arr[2],arr[1])

thanks in advance

sprintf is a function to print formatted output. The % values in quotes represent the...
1,744
Posted By talk2pawee
Thanks,Looks so simple, just changing the arrays...
Thanks,Looks so simple, just changing the arrays to begin from 0 to 1....mmmmh!

Appreciated!:b:
1,744
Posted By talk2pawee
Problem adding into an array field!!!
Hi,

Kindly assist by analyzing the code below and suggest changes to achieve the required output.

The input file:
01-010241800000 35000 MV010 02/03/09 0306 03060226 03
02-004103300000 470000...
1,702
Posted By talk2pawee
Hi, Kindly assist by analyzing my code below...
Hi,

Kindly assist by analyzing my code below and suggest the changes to achieve the required output.

The input file:
01-010241800000 35000 MV010 02/03/09 0306 03060226 03
02-004103300000...
1,702
Posted By talk2pawee
Conversion problem with date field and formatting.
Hi,

My input file contains the record(s) as below with space as FS.

01-01024180 35000 MV010 02/03/09 0306 03060226 03
02-00410330 470000 MV010 02/03/09 0301 03010276 03

1. I need to convert...
Showing results 1 to 9 of 9

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