I want it not print hello2,but for now it print, how could I do,not I want if exit 8 then exit to the whole shell, and don't want to move "exit" from the {}
Last edited by yanglei_fage; 04-17-2013 at 03:55 AM..
Hi,
Could any one please let me know what is the option
available in UNIX to print by specifying the paper size?
We are using Unix11i. I could n't see any option specified in the 'lp' command to print the report by specifying the size of the paper. It would be of great help to me, if... (1 Reply)
Ok, the filter looks like this.
awk ' BEGIN{printf ("^
This is sending escape sequences to the printer. What I also would like to do is filter out certain pages. I only want the contant between two markers. Start Marker=1Q2Q3Q4Q, End Marker=5Q6Q7Q8Q. I also need the actual line that... (0 Replies)
Hi,
This is certainly a simple question, but I have yet to receive sufficient info concerning it. I am using BASH on a Powerbook G4 running Leopard.
- I would like to permanently add a directory to my path. How do I do this?
- I understand that I can view my path by: echo $PATH. Is there a... (4 Replies)
Hello,
I am trying to convert lines from text file, I got lines in text files like that
ALPHA.cab
tomtom.cab
vgame.cab
converter.cabWhat i want to do is I want to conver these lines like that,
cabwiz.exe ALPHA.cab extract "C:\1extract\ALPHA"
cabwiz.exe tomtom.cab extract ... (5 Replies)
Hi to all,
Some help please, I want to modify using awk the print showed by command "ls -l -R" from:
/home/user1/Mydocs/Year/2010/July/Experiments:
total 1608
-rw-r--r-- 1 user1 user1 1431 Feb 2 22:45 Experiments1.TAR
-rw-r--r-- 1 user1 user1 923 Feb 2 22:45 Tests_Exp1.TXT... (4 Replies)
Currently, I have a print filter that takes a text file, that convert it into PCL which then gets to a HP printer. This works.
Now I need to embedded a image file within the text file.
I'm able to convert the image file into PCL and I can cat both files together to into a single document... (1 Reply)
Hi All
I am getting a file with below pattern -
00150366 05/08/2015 07:14:32
8000186167+++ 50195281000000000371001010903236
800186167+++ 100209000000000
800000018617+++ 50295281000000000371001010900217================================3u4398482344334=432434
00150367 05/08/2015 07:14:32... (7 Replies)
Running Oracle Linux 6 (derivative of RHEL 6)
Given this snippet of code in a shell script:
#-- reset oratab to use 11.2 home for dwdev
#-- normally we'd just use sed to do this sort of thing, but that would
#-- require permissions that we don't have in the /etc/ directory, so we
#-- ... (3 Replies)