Hi All,
I'm interested in the best way to serve multiple clients from a server process.
Now, our server is going to serve data on a custom protocol and it is going to get / process that data from a number of possible back-ends including files (text or xml) and MySQL/some other database.... (2 Replies)
Hi,
I have a series of BASH shell scripts that run together. I would like it so that these scripts construct a log file as they run. This log file would ideally be a text file that contains exactly (including blank lines) what is output to the terminal.
What is the best way to accomplish... (3 Replies)
Hello All,
I am a statistician and I am very new to the world of ksh programming. Daily, I analyze millions of rows of data and land information to DB2 tables. I have recently been asked to develop a ksh script to FTP an export file containing line item data from the production environment to the... (2 Replies)
Hi all - I am trying to write a script to generate a string that gets sent to an IP phone using wget. This is to upload a phone book of up to 100 entries so the string needs to be constructed in one 'hit'. I am a relative newbie to shell scripts but willing to try anything! I have 2 files:
... (3 Replies)
I have a file with the information shown and I want to capture the
entry having the rgdt tag and taking the value (the location of the represents the decimal point, for example 0p50 represents 0.50)
I then want to divide the number at the end of each line by the value 0.50
I want to do... (7 Replies)
We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Hi,
We have a Unix 3.2v5.0.5.
I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts).
This is the configuration file :
Code:
root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
I have text file in Linux with two rows : first row conmtain the column nam and the second row contain its value .I nned to fetch few columns first and then redirect the data of those colum in the another file.
Any ideas?? (1 Reply)
Hi,
I do have couple of files in a folder. The names of each of the files have a pattern.
ahet_005678.txt
ahet_005898.txt
ahet_007678.txt
ahet_004778.txt
...
...
ahet_002378.txt
Each of the above files have the same pattern of data with 4 columns and have an header for the last 3... (4 Replies)
Discussion started by: Kanja
4 Replies
LEARN ABOUT DEBIAN
diffpp
DIFFPP(1) DIFFPP DIFFPP(1)NAME
diffpp - pretty-print diff outputs with GNU enscript
SYNOPSIS
diffpp currentfile < diff-file
DESCRIPTION
Diffpp converts diff(1)-program's output files to a format suitable to be printed with GNU enscript(1). Program annotates the changes with
enscript's special escapes so enscript can highlight the modified portions of the file. All changed and added lines are printed with
gray-background, deleted lines are marked with minus (`-') characters; diffpp prints one minus character for each deleted line.
EXAMPLES
The easiest way to use diffpp is to use it as an input filter for enscript. If an input filter is specified for enscript it is used to
pre-process the incoming data-stream. Filtering does not alter any header strings or file-timestamps which might be printed on enscript
headers; only the incoming data is modified.
enscript -G2re --filter='rcsdiff %s | diffpp %s' *.c *.h
Print the changes between current source files and their latest RCS-versions.
enscript -G2re --filter='diff %s~ %s | diffpp %s' *.c *.h
Print changes between source files and the corresponding backup-files.
SEE ALSO diff(1), enscript(1)AUTHOR
Markku Rossi <mtr@iki.fi> <http://www.iki.fi/~mtr/>
DIFFPP Jan 29, 1997 DIFFPP(1)