1
vote
2answers
194 views

Get directory that script was called from

I have a script doSmth in /usr/bin. Is it possible to print the directory the script was called from is printed out by the script? So If I call doSmth from /home/me the output will be /home/me.
5
votes
1answer
418 views

SCO Unix run interactive script when sending a print job

I'm working with (read, "around") a proprietary ERP system on top of SCO Unix. It has several "query at print time" reports where you can assign a printer to send your job to. You usually input ...