"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 Package name: replace
2 Version number: 2.24
3 Original author: Richard K. Lloyd <replace@richardlloyd.org.uk>
4 Original URL:
5 HP-UX URL: http://hpux.connect.org.uk/hppd/cgi-bin/search?package=&term=/replace-
6 License: Other/Unknown Open Source Licence
7 Languages: C
8 Build-time deps: make
9 Install tree: /usr/local
10 Report bugs to: hpux@connect.org.uk
11 Tested on: HP rp3410 running HP-UX 11.11 and 11.23,
12 HP rx2600 running HP-UX 11.23,
13 HP rp3440 running HP-UX 11.31 and
14 HP rx2620 running HP-UX 11.31
15 Compilers used: PA-RISC - B.11.X.35098-35101.GP (HP C)
16 Itanium - A.06.12 (HP C)
17 LDOPTS setting: export LDOPTS="+s -L/usr/local/lib -L/usr/local/lib/hpux32"
18 Purpose:
19 Replace ASCII or hex strings in text or binary files. Although HP-UX comes with
20 sed, it has serious shortcomings as a command-line tool for novice users. This
21 replace package provides a much easier way of replacing one or more strings
22 with another in one or more text or binary files or from standard input. This
23 release includes a memory allocation fix.
24 Date archived: Wed 4 Apr 2007
25
26 -------------------------------------------------------------------------------
27
28 To compile:
29
30 [Select your favourite compiler flags and edit the TREE definition in the
31 Makefile]
32 gmake
33
34 To test (terse version):
35
36 gmake test
37 [should pass all the tests]
38
39 To test (verbose version):
40
41 gmake verbosetest
42 [should pass all the tests, with a lot more output]
43
44 To install:
45
46 gmake install
47
48 Notes:
49
50 * replace compiles and tests OK on HP-UX 11.11, HP-UX 11.23, Red Hat Linux 8.0
51 and Fedora Core 2. You'll never go back to sed again :-)
52
53 * This software is freely modifiable and re-distributable, providing the
54 original unmodified text of the README is supplied with any re-distribution.
55 I'd be delighted to receive any feedback about bug fixes, compilation on
56 other platforms or enhancement requests. Send them to the e-mail address
57 replace@richardlloyd.org.uk and help stamp out sed now - you know it makes
58 sense !
59
60 * To see if there's a new replace release available, please go here:
61 http://hpux.connect.org.uk/hppd/cgi-bin/search?package=&term=replace-