04-02-2008
Change "-c8-40" to "-c17-40" !!!
Don't you ever want to know how UNIX-Commands work?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file nbu_faq.txt (Question/answer) which looks like this
What I am trying to do is write out each question in a file1.txt and than the question/answer in a file2.txt
like this
file1.txt
Q: What is nbu?
Q: What is blablabla...?
Q: Why ....?
file2.txt
Q: What is nbu?
A:... (4 Replies)
Discussion started by: nymus7
4 Replies
2. Shell Programming and Scripting
I need to replace the line containing "STAGE_DB" with the line
"STAGE_DB $DB # database that contains the table being loaded ($workingDB)"
Here $DB is passed during the runtime.
How can I do this?
Thanks,
Kousikan (2 Replies)
Discussion started by: kousikan
2 Replies
3. Shell Programming and Scripting
I have a pattern match problem I could use your help with
I have a file in the following format (names.txt)
jae,doe
john,doe
jay,doe
I need to loop through the file using FOR and check the names in names.txt against another file (information.txt).
information.txt is in the following... (2 Replies)
Discussion started by: chaos40
2 Replies
4. Shell Programming and Scripting
Hi All,
Does anyone know how to print 1H1A....... in peal script
print line ^1H1A....... if next line equal 5R0RECEIPT....
Thank for help:D
Cat st.txt
1H1A-IN-11-5410-0009420|1010047766|dsds|1|N|IN|IN|000000|1||N|<<<line match
5R0RECEIPT|
5R0RECEIPT|... (2 Replies)
Discussion started by: kittiwas
2 Replies
5. Shell Programming and Scripting
I have a pattern
username:x:32005:32006::/usr/local/user:/bin/bash
I need to match the line containing username and replace /bin/bash with /usr/local/my/bin/noshell
So it becomes
username:x:32005:32006::/usr/local/user:/usr/local/my/bin/noshell (7 Replies)
Discussion started by: anilcliff
7 Replies
6. Shell Programming and Scripting
Hi How Are you?
I am doing fine!
I need to go now?
I will see you tomorrow!
Basically I need to replace the entire line containing "doing" with a blank line:
I need to the following output:
Hi How Are you?
I need to go now?
I will see you tomorrow!
Thanks in advance.... (1 Reply)
Discussion started by: sags007_99
1 Replies
7. Shell Programming and Scripting
I have
2013-06-11 23:55:14 1Umexd-0004cm-IG <= user@domain.com
I need sed/awk operation on this, so that it should print the very next pattern only after the the pattern mach <=
ie only print user@domain.com (7 Replies)
Discussion started by: anil510
7 Replies
8. Shell Programming and Scripting
Im using the command below , but thats not the output that i want. it only prints the odd and even numbers.
awk '{if(NR%2){print $0 > "1"}else{print $0 > "2"}}'
Im hoping for something like this
file1:
Text hi this is just a test
text1 text2 text3 text4 text5 text6
Text hi... (2 Replies)
Discussion started by: invinzin21
2 Replies
9. Shell Programming and Scripting
Hello Experts , require help . See below output:
File inputs
------------------------------------------
Server Host = mike
id rl images allocated last updated density
vimages expiration last read <------- STATUS ------->... (4 Replies)
Discussion started by: tigerhills
4 Replies
10. Shell Programming and Scripting
I am trying to combine lines with these conditions:
1. First line starts with text of "libname VALUE db2 datasrc" where VALUE can be any text.
2. If condition1 is met then continue to combine lines through a line that ends with a semicolon.
3. Ignore case when matching patterns and remove any... (5 Replies)
Discussion started by: Wes Kem
5 Replies
xfstt(1x) Xfstt User's Manual xfstt(1x)
NAME
xfstt - X11 Font Server for TrueType fonts
SYNOPSIS
xfstt [options]
DESCRIPTION
Xfstt serves TrueType fonts to X11 servers. Start xfstt then tell X11 about the font server with xset fp+ unix/:7101 or (assuming the X11
server runs on host 127.0.0.1) xset fp+ inet/127.0.0.1:7101
OPTIONS
--sync Synchronize the font database with installed fonts and exit when done. Don't do this while xfstt is running.
--gslist
Print font list in a format usable for ghostscript during --sync.
--user username
This is a security feature which is designed to lessen the impact of any future security holes which are found in xfstt. This will
cause xfstt to set its UID and GID to that of the specified user (if that user doesn't exist then it will use your current UID and
GID)
--encoding item[,...]
Remap to different encodings, listed each separated by a comma. Default is iso8859-1. Usage example:
xfstt --encoding iso8859-2,koi8-r,windows-1251
--port number
Change the port number for xfstt's font services. This version of Xfstt defaults to port 7101.
--notcp
Don't open TCP socket, use unix domain only.
--dir name
Change xfstt's font directory. The default directory is /usr/share/fonts/truetype.
--cache name
Change xfstt's font cache directory. The default directory is /var/cache/xfstt.
--pidfile name
Change xfstt's pidfile location. The default file name is /var/run/xfstt.pid.
--res value
Force the resolution for underspecified fonts to value (typically 96 or 120). Default is the value the X11 server suggests which
can be adjusted by the -dpi option of the X11 server. Standard X11 servers have defaults of 72 dpi.
--unstrap
Allow some more unicode characters. This is dangerous for many X11 servers. Start the X server with the "-deferglyphs 16" option to
give the X server a better chance of surviving. For very carefully implemented X servers you may recompile with UNSTRAPLIMIT set to
65535 in order to get the complete unicode range.
--once Exit after the font client disconnects.
--inetd
Tell xfstt to be used as inetd service.
--daemon
Behave like a daemon.
--help Print brief usage information on standard output and exit.
--version
Show the program version.
SEE ALSO
xfs(1), xset(1), X(1), inetd(8).
AUTHORS
Originally written by Herbert Duerr <duerr@de.ibm.com>.
Has been maintained by Steven Carpenter <sjc@debian.org>.
Current maintainer is Guillem Jover <guillem@hadrons.org>.
1.9 2010-01-29 xfstt(1x)