Ticket #47571

Lines not read

Open Date: 2023-03-13 23:05 Last Update: 2023-03-13 23:26

Reporter:
Owner:
(None)
Status:
Open
Component:
MileStone:
(None)
Priority:
9 - Highest
Severity:
5 - Medium
Resolution:
None
File:
None
Vote
Score: 1
100.0% (1/1)
0.0% (0/1)

Details

Hello, I would like to ask for an assistance to anyone that might have a solution to the issue I'm currently having.

Whenever I put a target date on the files that I would like to retrieve, it doesn't return anything. But when I use wildcard, it returns all the files with the likeness of my search. Currently this put a limitation on my project.

Code snippet:

---- This one is working (It returns results) ----
sendln 'find . -type f -name "abc-*.log.gz" -exec basename {} \;'
waitln '*.gz'
while numfiles>0
recvln
sendln inputstr
numfiles=numfiles-1
endwhile
---- This one is not working (It doesn't return results) ----
sendln 'find . -type f -name "abc-20230217.log.gz" -exec basename {} \;'
waitln '*.gz'
while numfiles>0
recvln
sendln inputstr
numfiles=numfiles-1
endwhile

Ticket History (3/4 Histories)

2023-03-13 23:05 Updated by: jdev29
  • New Ticket "Lines not read" created
2023-03-13 23:25 Updated by: jdev29
  • Details Updated
2023-03-13 23:26 Updated by: jdev29
  • Details Updated
2023-03-13 23:26 Updated by: jdev29
  • Details Updated

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login