10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file that contains the schedule for a tournament with 41 teams. The team names have spaces in them. I would like to search for each teams schedule and then save that to that teams file
For example
Team name: "Team Two"
I would like to search for all the games for "Team Two" and... (8 Replies)
Discussion started by: knijjar
8 Replies
2. Red Hat
Hi, I am looking for a quick answer. How to print postscript files by using gs command? Let's say the HP printer's hostname is pname and the document name is pfile. The OS is RHEL 4 with cups enabled. I've read gs man but didn't get it well.
Thank you in advance! (1 Reply)
Discussion started by: aixlover
1 Replies
3. Shell Programming and Scripting
Hi,
Please have a look on below records.
STG_HCM_STATE_DIS_TAX_TBL.1207.Xfm: The value of the row is: EMPLID = 220677 COMPANY = 919 BALANCE_ID = 0 BALANCE_YEAR = 2012
STG_HCM_STATE_DIS_TAX_TBL.1207.Xfm: ORA-00001: unique constraint (SYSADM.PS_TAX_BALANCE) violated
... (4 Replies)
Discussion started by: Sachin Lakka
4 Replies
4. AIX
Hello,
I am runnning Infoprint Manager 4.3 on AIX 5.2 . There is no problem printing AFP files, but I have hit a snag trying to use "AIX DSS" or "Other Printer" actual destinations to send unconverted Postscript files to native Postscript printers.
The files are big, and they print correctly,... (0 Replies)
Discussion started by: ahetzel
0 Replies
5. Shell Programming and Scripting
Hi All,
I have searched the forum and tried to print only matching(pattern) words from the file, but its printing entire line. I tried with grep -w. I am on sunsolaris.
Eg:
cat file
A|A|F1|F2|A|F3|A
A|F10|F11|F14|A|
F20|A|F21|A|F25
I have to search for F (F followed by numbers) and ... (5 Replies)
Discussion started by: gsjdrr
5 Replies
6. Shell Programming and Scripting
I have string as and I want to print first two words as output. (3 Replies)
Discussion started by: Diggi
3 Replies
7. Shell Programming and Scripting
Hi,
I have to write a shell script that converts numbers in to words
below is what i wrote.My script is not running.
-----------------------------------
echo -n "Enter number : "
read n
len= echo $n | wc -c
echo " number in words : "
for ( i=1; i<len; i++ )
do
num=echo $n... (5 Replies)
Discussion started by: bab123
5 Replies
8. Shell Programming and Scripting
can u help me out to print last two words of each sentence of a file.
for example.
contents of input file:
i love songs
my favourite songs
sent
songs all kind
good buddy
Ouput file should contain:
love songs
favourite songs
sent
all kind
good buddy (5 Replies)
Discussion started by: pradeepreddy
5 Replies
9. Web Development
Hi,
If i give a number say "1234" the output of mysql query should be:
one thousand and twenty four
How to write mysql query for this?
With regards
Vanitha (5 Replies)
Discussion started by: vanitham
5 Replies
10. UNIX for Dummies Questions & Answers
I use the university's unix system, but I am doing my project at home.
My questions are:
1. How to print a file at home's printer?
2. How to copy a file which resides on the some directory to my flash drive?
Thank you. (1 Reply)
Discussion started by: zhshqzyc
1 Replies
NGP2(1) General Commands Manual NGP2(1)
NAME
ngp2 - convert ngp files to image
SYNOPSIS
ngp2 [options] ngp files
DESCRIPTION
ngp2 is the program to convert ngp files created by Ngraph to image files such as PostScript, SVG, PNG, PDF or GRA.
OPTIONS
Command line options are:
-I ignore path of data files
-a automatically set scale of axis when scale is not set
-A clear and automatically set scale of axis
-c change directory to location of a ngp file
-d dpi set dpi
-ps, ps3
save as PostScript level 3
-ps2 save as PostScript level 2
-eps, -eps3
save as Encapsulated PostScript level 3
-eps2 save as Encapsulated PostScript level 2
-pdf save as Portable Document Format
-svg, -svg1.1
save as Scalable Vector Graphics version 1.1
-svg1.2
save as Scalable Vector Graphics version 1.2
-png save as Portable Network Graphics
-h, --help
show help message
AUTHORS
Hiroyuki Ito <ZXB01226@nifty.com>
SEE ALSO
ngraph(1)
COPYRIGHT
Copyright (C) 1999 Hiroyuki Ito
4th Berkeley Distribution Local NGP2(1)