Search Results

Search: Posts Made By: Indalecio
Forum: Programming 12-11-2013
2,053
Posted By Indalecio
I appreciate the feedback. I know what you mean...
I appreciate the feedback. I know what you mean by people trying to reinvent the wheel, it's hard to stop them once theyŽre convinced their idea is the solution they should go for. But if they don't...
Forum: Programming 12-10-2013
2,053
Posted By Indalecio
Ok IŽll drop an example to illustrate the sort of...
Ok IŽll drop an example to illustrate the sort of data we would be looking after.

With each occurence of Record_key_1 identifying a new object, all subsequent records referring to that object...
25,781
Posted By Indalecio
It all comes down to what kind of program you...
It all comes down to what kind of program you want to be running based on your output from awk. If you want to do something simple, like one basic command to run for each output line, then you could...
Forum: Programming 12-09-2013
2,053
Posted By Indalecio
All fields are delimited by a pipe character. ...
All fields are delimited by a pipe character.

C/C++ should be fastest, however I was considering Perl or any variant given the data structure and the fact weŽre on a Redhat machine.
Forum: Programming 11-10-2013
2,053
Posted By Indalecio
Field delimited data to XML
Hi,

We need to produce a XML file based on a record/field delimited data file. At this point we could just script something out but I would like to ask the community what would be the best choice...
2,377
Posted By Indalecio
Thanks, IŽll use that and check the logs tomorrow...
Thanks, IŽll use that and check the logs tomorrow (process runs at 05:30), alt on monday if it can give me the name of the process. Awesome idea. Žll let you know if it gave me the answer IŽm looking...
2,377
Posted By Indalecio
We don't use any other scheduler that I know of....
We don't use any other scheduler that I know of. About domains, I meant filesets. We call them "domains" hence my initial formulation.

I looked into auditing and such, we have no auditing rules...
2,377
Posted By Indalecio
Tring to locate a script
Hello,
We have a process on our Linux RedHat machine creating symbolic links and moving around some files from domain to domain. The issue is that the programmer has left a long time ago and nobody...
Forum: Red Hat 02-15-2013
3,361
Posted By Indalecio
WeŽve also had problems with 3.5-4GB tar files on...
WeŽve also had problems with 3.5-4GB tar files on Windows 32-bit systems so that's definately something we need to simulate before going for it. One of the main problems is that it takes so much time...
Forum: Red Hat 02-14-2013
3,361
Posted By Indalecio
Thanks for replying. So something like TAR...
Thanks for replying. So something like TAR everything and ZIP the single file. Alright, that's one thing I haven't tested yet. I assume this 7zip tool can be imvoked as part of an automated process....
Forum: Red Hat 02-14-2013
3,361
Posted By Indalecio
ZIPX library?
Hello,
Our system on a Redhat platform is generating ZIP archives that we then send to another system on a Windows machine. I have no issue generating a ZIP file containing up to 2GB worth of data...
2,059
Posted By Indalecio
Problem with sub command (awk) and numbers
Hi,

I am trying to perform a simple soustraction between two floating numbers and cannot get it done for some reason due to the use of the sub command.

The following is the straight-forward...
6,206
Posted By Indalecio
Sorry for misunderstanding your point, I had my...
Sorry for misunderstanding your point, I had my head around so many things that I missed it completely...

What you posted seems to work and performance is similar to my alternative solution using...
6,206
Posted By Indalecio
Hmmm first of all I have strong doubts about the...
Hmmm first of all I have strong doubts about the performance of the while read loop, secondly the cat command will give me a corrupted file since the file is not ASCII encoded which will make most...
6,206
Posted By Indalecio
tail out of memory
Hi,

I am performing a tail command on EBCDIC coded files and am getting the following error message when I try to process very large files.


tail: There is not enough memory available now.

...
Forum: Red Hat 06-03-2009
4,543
Posted By Indalecio
Locale settings and awk
Hi,

We are trying a few things on our new RHEL machine and I noticed some strange behaviours happening in awk.
We are using the swedish locale sv_SE.iso88591, where you have three additional...
1,356
Posted By Indalecio
Cheers for the reply As we are moving all...
Cheers for the reply

As we are moving all our scripts to the Solaris platform we are mostly looking for a way of setting up the environment in a way the original scripts (like the command I wrote...
1,356
Posted By Indalecio
awk dodginess
Hello,


HP Alpha Tru64

cscyabl@comet:(tstbass)> echo "00000" | awk '{if ($0 == "") {print "lol"}}'
cscyabl@comet:(tstbass)>



Sun Solaris

-bash-3.00$ echo "00000" | awk '{if ($0 ==...
Forum: Solaris 05-06-2009
3,391
Posted By Indalecio
sort -A on Solaris
Hello,

Is there any good way of replicating the effects of the Tru64 sort -A command on a Solaris machine?

We use sort -A to ignore the locale settings causing files to be sorted differently...
4,971
Posted By Indalecio
This file cannot be converted to ASCII so I have...
This file cannot be converted to ASCII so I have to treat it as EBCDIC from start to the end.
4,971
Posted By Indalecio
awk and EBCDIC
Hello,

I am trying to insert a line in an EBCDIC encoded file.
I intend to translate my ASCII line into EBCDIC, then use awk to insert this line into my file after it found a known EBCDIC...
2,232
Posted By Indalecio
sort in perl
Hi

Is there any way I could reproduce the following code in perl 5.8:


sort -u FILE | sort -t: -k1,1 -k2n


which sorts by unicity first, then by first key, then by second key in numeric...
2,801
Posted By Indalecio
Thanks for the insight :b:
Thanks for the insight :b:
2,801
Posted By Indalecio
Display of string with TAB in it
Hi,

I am having trouble using the result of the following awk command in a script, as displaying the contents of the placeholder automatically replaces the new created TAB by a space character...
7,846
Posted By Indalecio
Which is basically what pludi's solution #2 is...
Which is basically what pludi's solution #2 is about.
Works like a charm, although performance is a bit bad, but I still buy it.

Thanks for all the help guys
Showing results 1 to 25 of 70

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