Search Results

Search: Posts Made By: 3vilwyatt
Forum: AIX 06-22-2010
37,037
Posted By 3vilwyatt
Hi all, thanks for your inputs. i tried to...
Hi all,

thanks for your inputs. i tried to do what Scott suggested but it is also the same error.
it seems that all dbms_output.put_line is consuming a large amount of memory in out AIX server...
Forum: AIX 06-17-2010
37,037
Posted By 3vilwyatt
Hi Scott, sorry for being vague. The AIX...
Hi Scott,

sorry for being vague. The AIX admin increased the memory for the login that i was using.

I was using the code below to copy all the print lines from the sql script to the file

...
Forum: AIX 06-10-2010
37,037
Posted By 3vilwyatt
AIX KSH: 0403-029 There is not enough memory available now
Hi guys,

I hope you can help me out with this one.

I am getting an error in AIX when running my KSH script 0403-029 There is not enough memory available now.

It is getting this error at...
1,754
Posted By 3vilwyatt
thanks for the information. =)
thanks for the information. =)
1,754
Posted By 3vilwyatt
Getting the last line of the file
Hi Guys,

I have a code in bash and now I want it to be changed to ksh.

file1.txt

A
B
N




tail -1 file1.txt

output = N


now if i use ksh, the output is B. Any ideas?
Forum: AIX 05-31-2010
5,450
Posted By 3vilwyatt
thanks! that worked! :) that is actually what i...
thanks! that worked! :) that is actually what i intend to do!
Forum: AIX 05-31-2010
5,450
Posted By 3vilwyatt
[Solved] AIX Replace a substring
Hi,

I have a very simple problem but I am new to scripting and I cannot find a way around it.

I am using KSH.

I have a date say


001200AM


But i want to replace the first 00 to...
33,807
Posted By 3vilwyatt
my working solution
Hi guys,

thanks for all your inputs.
i was able to work with my problem using this:


#!/bin/bash

FILE_NAME=1.csv

while read fileline
do
OLDIFS=IFS
IFS="=" flds=( $fileline )...
33,807
Posted By 3vilwyatt
thanks kshji ill go and try this...
thanks kshji
ill go and try this...
33,807
Posted By 3vilwyatt
Thanks for your reply guys. i appreciate it. ...
Thanks for your reply guys. i appreciate it.

now i am trying something like this to work.
- read the csv file
- put the lines in a row array
- next loop would be to parse each row to get the...
33,807
Posted By 3vilwyatt
Hi something like this. its not working very...
Hi

something like this. its not working very well.


#!/bin/bash
i=0
cat sample.csv | while read fileline
do
echo "$fileline"
row[i]=$fileline
i=$i+1
done

*** parse all rows in row...
33,807
Posted By 3vilwyatt
Bash Script to read a file and parse each record
Hi Guys,

I am new to unix scripting and I am tasked to parse through a CSV file delimited by #.

Sample:

sample.csv

H#A#B#C
D#A#B#C
T#A#B#C


H = Header
D = Detail Record
T = Tail
...
Showing results 1 to 12 of 12

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