Search Results

Search: Posts Made By: PRKS
10,539
Posted By PRKS
Hi fpmurphy, I m using HP-UX. All I want...
Hi fpmurphy,
I m using HP-UX.

All I want to do is to make a function that will store the list of files of a given directory (in an array perhaps) and return that array..

something like
...
10,539
Posted By PRKS
Hi... ksh version in "Version 11/16/88" ...
Hi...
ksh version in "Version 11/16/88"

Its giving this error...
try: Syntax error at line 11 : `(' is not expected.
10,539
Posted By PRKS
Original script... ---------- Post updated...
Original script...

---------- Post updated at 06:22 AM ---------- Previous update was at 06:19 AM ----------

fileLimit=5
func(){
dir="$1"
format="$2"
array="$3"
...
10,539
Posted By PRKS
Array copy in ksh
Hi all,
Following code in ksh is giving error:


fileLimit=5
func(){
dir="$1"
format="$2"
array="$3"
i=0
ls -lrt $format | tail -${fileLimit} | while read f_det; do
...
Showing results 1 to 4 of 4

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