Score:1

run built in commands in ABL language

at flag

For some reason in Ubuntu I cannot run built in commands in my code.

This same code works fine in other OS s.

input thru value("cd " + t-dir + " ; ls -1 last-*~"").

I get the /bin/bash: error, for some reason the code cannot find the "cd" command.

Probably my code. I'm just putting out there while on work on the ABL code.

Thanks in advance!

terdon avatar
cn flag
Why do you have a space in `"cd "`? Does it work if you use `input thru value("cd" + " " + t-dir)`?
ctoman avatar
at flag
have a space to simulate what i would type on the command line. I got it to work last night, this is the syntax input thru value("cd " + t-dir + "; ls last-*~""). thanks for replying.
terdon avatar
cn flag
If you got it t work, could you please post your solution as an answer so the question can be marked as answered?
ctoman avatar
at flag
the solution in under my comment. I took out the -1.
ctoman avatar
at flag
sorry, i did not take out the -1. it was actually another input from that was causing me grief. some reason the bash does not like the tilde before: /*input thru value("cat " + t-dir + tt-log.file-name + " | $DLC/bin/quoter~""). */ after: input thru value("cat /usr/local/hb/last*" + " | $DLC/bin/quoter").
terdon avatar
cn flag
Great, but could you please post it as an answer? Otherwise the system won't see this as answered. Plus, you can accept it and get a bit of reputation which will let you do more things on the site if you decide to stick around!
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.