All Questions
3 questions
1
vote
1
answer
644
views
How many elements can an array store in unix script?
I need to check the file permissions of directories /usr, /tmp, /var and their contents of sub directories. I have taken the file permissions of the directory and its sub directory files in an array ...
1
vote
1
answer
1k
views
Processing output from an sqlite db into a ksh array with spaces
I am querying an SQLite3 database like so:
input=$(-separator "," "SELECT field1,field2,field3 FROM table1")
and get this result:
Red,Yellow is a color,Blue
I need to insert this into an array, is ...
1
vote
1
answer
6k
views
Compare two Arrays in KSH and output the difference
I am not extremely familiar with KSH (Actually just started using it) and I am having problems with trying to create a script that will essentially compare two arrays that have been stored and then ...