Re: Cannot run script from bash

2014-07-10 Thread Luis P. Mendes
Correct would be (de ffiles (dir_list) (cond ((=T (info (car dir_list))) (print is directory)) (T (print is not directory)) ) ) Note the 'T' in the last line. Ok, I already corrected the code and capitalized the function parameter. $ pil pil_files.l -main + :

Re: Cannot run script from bash

2014-07-10 Thread Alexander Burger
Hi Luis, there's no return to the bash shell (either using '+' or not). If I had the (bye) at the bottom of the code as suggested by Henrik: $ pil pil_files.l -main outputs nothing and return to bash (either using '+' or not). Yes, sure. Because (bye) is called in pil_files.l, before