01-18-2011
That part I understand. What I meant was why did it place the three files in different locations, and only append the .txt extension to the last argument?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am having problems scripting in UNIX. I am currently attending school and for the first time I am being introduced to scripting. My problem is I am supposed to enhance the spell_check by adding a third optional argument. The third argument is to specify a list of words to be added to the... (1 Reply)
Discussion started by: steph
1 Replies
2. UNIX for Dummies Questions & Answers
hi there i am new to this site and this linux and unix stuff so kind of plz help me out hoe to start the stuff.... (1 Reply)
Discussion started by: cool_dude
1 Replies
3. Shell Programming and Scripting
All,
I appreciate any help you can provide on this. I get an "else unmatched" error with this code and can't figure out why. If I remove the 1st if statement through the 1st else the script runs through fine. Any thoughts?
#decrypt file
sudo -u gpg /usr/bin/gpg... (4 Replies)
Discussion started by: peteroc
4 Replies
4. Shell Programming and Scripting
Hi, I need a little help here. I am exporting user info from a PSQL database and everything is working with the exception of this:
10029008:dsAuthMethodStandard\:dsAuthClearText:classword:10029008:2004:10029008:10029008:/home/student/1002/90/08:10029008
It is putting a colon right before the... (1 Reply)
Discussion started by: Stud33
1 Replies
5. IP Networking
Hi,
How do I get subnet from this:
10.252.0.138/25
Tnx (2 Replies)
Discussion started by: mehrdad68
2 Replies
6. Shell Programming and Scripting
Hello,
i am on 2.6.13-1.1526_FC4smp
i have directory named /home , and in there i have directory 2009_10_10
and two files : 2009_10_10.log and 2009_10_11.log
How to write shell script which will delete only file/s that don't have his/their 'parent' directory, so in this case , only... (7 Replies)
Discussion started by: tonijel
7 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have inherited a server at work that has one IP and two virtual IP's. It is live and I want to figure out what each IP is being used for. I thought of NETSTAT but I cannot figure out how to get it to list what each IP is listening for. ANy advice? (8 Replies)
Discussion started by: mojoman
8 Replies
8. UNIX for Advanced & Expert Users
I have two machines, each with a virtual interface, with the following configurations:
Machine1:
eth2 Link encap:Ethernet HWaddr 00:09:6B:19:E5:05
inet addr:172.16.0.201 Bcast:172.16.0.255 Mask:255.255.255.0
eth2:0 Link encap:Ethernet HWaddr 00:09:6B:19:E5:05
... (0 Replies)
Discussion started by: druidmatrix
0 Replies
9. UNIX for Dummies Questions & Answers
#!/bin/sh
while IFS=: read address port; do
: ${port:=443}
address=$address
port=$port
cd $f_location
number=`grep "$address" thing.txt -A 1 | grep "addresses=" | cut -d'"' -f2`
echo "$address,$port,$number,$answer" >>... (9 Replies)
Discussion started by: shade917
9 Replies
10. Shell Programming and Scripting
Hi,
Below is my input file:
Long list of significant figure
1.757E-4
7.51E-3
5.634E-5
.
.
.
Desired output file:
0.0001757
0.00751
0.00005634
.
.
. (10 Replies)
Discussion started by: perl_beginner
10 Replies
PKTOGF(1) General Commands Manual PKTOGF(1)
NAME
pktogf - convert packed font files to generic font files
SYNOPSIS
pktogf [-v] pk_file_name [gf_file_name]
DESCRIPTION
This manual page is not meant to be exhaustive. The complete documentation for this version of TeX can be found in the info file or manual
Web2C: A TeX implementation.
The pktogf program converts a packed font file (pk) to a generic font file (gf). Packed font files are much smaller than the corresponding
gf files, but some DVI readers only understand gf files.
The pk_file_name on the command line must be complete. Because the resolution is part of the extension, it would not make sense to append a
default extension as is done with TeX or DVI-reading software. The gf_file_name defaults to the same (stripped) name as pk_file_name, and
it is placed in the current working directory with the gf suffix replacing pk. For example, the input file io.300pk would become io.300gf.
OPTIONS
Unless the -v switch is given, pktogf operates silently. With -v, the version number of the program and statistics about the unpacking are
output to stdout.
ENVIRONMENT
pktogf looks for pk_file_name using the environment variable PKFONTS. If that is not set, it uses the variable TEXPKS. If that is not
set, it uses TEXFONTS. If that is not set, it uses the system default.
See tex(1) for the details of the searching.
SEE ALSO
gftopk(1), gftype(1), pktype(1).
Donald E. Knuth et al., Metafontware.
AUTHORS
Tomas Rokicki wrote the program. Pierre MacKay adapted it for compilation with web2c.
Web2C 2012 14 December 1993 PKTOGF(1)