Search Results

Search: Posts Made By: newbie187
Forum: HP-UX 09-17-2008
4,606
Posted By newbie187
Thanks My problem got solved. I used: ...
Thanks My problem got solved.
I used:

FILENAME= `eval ls -t test_data_$DATESTAMP*`

instead of

FILENAME= `eval ls -t $FILE`
Forum: HP-UX 09-17-2008
4,606
Posted By newbie187
That did not solve the problem. I still get a...
That did not solve the problem.
I still get a blank line, when I try to echo the Filename.
Forum: HP-UX 09-16-2008
4,606
Posted By newbie187
HP-UX eval basic question
Hi,

I tried using the following on a HP-UX box in a ksh script.

export FILE=test_data_'$DATESTAMP*'.txt'
FILENAME= `eval ls -t $FILE`

The 'file' name comprises of DateStamp and TimeStamp,...
10,285
Posted By newbie187
Split A String
Hi,

I am new to scripting and need help splitting a string using space as the delimiter.
How can I do that?
I want the result to be stored in an Array.
I tried using
set -A arr $(echo $FILE)...
Showing results 1 to 4 of 4

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