Substitution for "> pf_print" in Linux


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Substitution for "> pf_print" in Linux
# 1  
Old 01-30-2012
Bug Substitution for "> pf_print" in Linux

Hi

I am looking for a substitution for "> pf_print" in Linux.

Example:
Code:
dd_PRINTCMD="> pf_print" ; export dd_PRINTCMD

Here pf_print is a file containing printer name, print command. The above command is trying to get the # of copies from the program and trying to pass thru script.

The above command is not working in linux. Please suggest me an alternative to this command, that I need to use in the script.

Thanks

Moderator's Comments:
Mod Comment Please use next time code tags for your code and data

Last edited by vbe; 01-30-2012 at 09:49 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Difference between "Command substitution" and "Process substitution"

Hi, What is the actual difference between these two? Why the following code works for process substitution and fails for command substitution? while IFS= read -r line; do echo $line; done < <(cat file)executes successfully and display the contents of the file But, while IFS='\n' read -r... (3 Replies)
Discussion started by: royalibrahim
3 Replies
Login or Register to Ask a Question