Search Results

Search: Posts Made By: RudiC
2,394
Posted By RudiC
I can't see any relationship between your code...
I can't see any relationship between your code snippet and the error msg that you get. Anyhow, might be it doesn't like an empty "$q2" - so, trywhile read q1 q2 q3
do [ "$q3" ] && P="-D ps -q $q2"...
2,394
Posted By RudiC
If the second value can be empty in your input...
If the second value can be empty in your input file, use Corona688's proposal and adapt:while read q1 q2 q3
do [ "$q3" ] || { q3=$q2; q2=""; }
/usr/lib/lpd/pio/etc/piomkjetd mkpq_jetdirect...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy