Dear Guys,

I want to define a function which takes a parameter with a shell command.

My initial expression is: (in '(grep -v "#" "~/path/to/file.txt")... and it works well.

Now I want to build a function which takes the path to the file as a parameter like this:

(setq PathToFile "~/path/to/file.txt")

(de loadFile (X) (in '(grep -v "#" X)...

(loadFile PathToFile) => doesn't work! X is not evaluated.

What am I doing wrong?

Thanks

Eric



--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to