Search Results

Search: Posts Made By: sidamin810
8,799
Posted By sidamin810
thanks Vino.. Ill try that out..! =)
thanks Vino.. Ill try that out..! =)
8,799
Posted By sidamin810
Posting to a log file in KSH
Hello,

I am writing this script in ksh (consisting of various functions such as -> read_file, write_file, pront_output and initialise) which basically process input files based on the parameters...
25,887
Posted By sidamin810
Is this right? while (( $i <...
Is this right?

while (( $i < ${arr$idataset$nline[@]} )); do # check condition

NOTE: $idataset, $nline have been defined before...AND [@] -> signifies the end of array.

I would like to...
25,887
Posted By sidamin810
Thanks Perderabo ! I think I've got it...
Thanks Perderabo !

I think I've got it working now. :)
25,887
Posted By sidamin810
Sorry..this is what I have: eval...
Sorry..this is what I have:

eval arr$idataset$nline[i]=\"${arr[$i]}\"

Works but I am not sure if it's storing it in the array..?? Thanks!
25,887
Posted By sidamin810
Need some clarification.
POsted below is the "modified" function from the above program, that I've been working on.

I needed some clarification for the highlighted code below. Does
...
5,780
Posted By sidamin810
script in ksh.
Thanks for the input..!

I am sorry I didn't mention this earlier, but I am using ksh. I am going to try this out with what I am working on.

Once again, thanks a lot for all the input. Goodday! ...
5,780
Posted By sidamin810
Reading in data sets into arrays from an input file.
Hye all,

I would like some help with reading in a file in which the data is seperated by commas. for instance:

input.dat:
1,2,34,/test

for the above case, the fn. will store the values into...
25,887
Posted By sidamin810
Debugging my ksh script.
Thank you Bakunin..! Appreciate your help greatly.. :)

I finally figured out the error. It had to be with the max. number of brackets that nedit could support.

APOLOGISE for the long post...
25,887
Posted By sidamin810
Another question.
Hi,

Another quick/noob question I have:

Can ksh/ ksh 93 support multi-dimensional arrays more specifically 2D arrays?

I THINK they cannot be supported but I need a bit more info on that. Any...
25,887
Posted By sidamin810
Perderabo : Thank you very much..! :) That is...
Perderabo : Thank you very much..! :) That is what I was looking for. Once again really appreciate your help.

Sid
25,887
Posted By sidamin810
ksh script - arrays
hello all.. I have been browsing / searching through the forum and have yet not been able to find what I was looking for.

I am fairly new to ksh and my task is to create a function that reads in...
Showing results 1 to 12 of 12

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