I need to separate the filenames by a space.
Q: files whose (name of it starts with “fstab”) of folder “/etc” as string
A: /etc/fstab
A: /etc/fstab.bckp
A: /etc/fstab.tmp
T: 2001
parameter “FILES” = "{files whose (name of it starts with “fstab”) of folder “/etc” as string}"
Command succeeded parameter “FILES” = “/etc/fstab/etc/fstab.bckp/etc/fstab.tmp” (action:1588314)
Desired —> “/etc/fstab /etc/fstab.bckp /etc/fstab.tmp”
Regards
Try:
concatenation " " of files whose (name of it starts with “fstab”) of folder “/etc” as string
2 Likes
Andrew,
Thanks, but it’s not working.
Q: concatenation " " of files whose (name of it starts with “fstab”) of folder “/etc” as string
E: The operator “concatenation” is not defined.
dave
“files” actually returns a complex type, but for display purpose we show the pathname in the debugger. To concatenate you need to explicitly get the pathname, a string value. Try
Q: concatenation " " of pathnames of files whose (name of it starts with "fstab") of folder "/etc"
4 Likes