AminetAminet
Search:
84736 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cli/gsar-1.21.i386-aros.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:search and replace text in files
Author:T. Tjaberg and H.P. Verne
Type:util/cli
Version:1.21
Architecture:i386-aros
Date:2017-03-27
Distribution:Aminet
Download:util/cli/gsar-1.21.i386-aros.lha - View contents
Readme:util/cli/gsar-1.21.i386-aros.readme
Downloads:712

Description:

AROS i386 build of gsar, originally found on aminet. Compiled by P. Besser
please read the full readme files and documentation provided in the
archive.

gsar (General Search And Replace) is a utility for searching for and
--- optionally --- replacing strings in both text and binary files.
The search and replace strings can contain all kinds of characters
(0--255), i.e. Ctrl characters and extended ASCII as well. 

The algorithm used is a variation of the Boyer-Moore search algorithm,
modified to search binary files. As a result of this, gsar is blindingly
fast. 

Opposed to line oriented search programs (like grep(1)), gsar will find
all matches on a line. Actually, gsar doesn't know anything about lines
at all, all files and strings are treated as binary. 

Gsar can search one or several files for a string and report the
occurrences. Gsar can read one file, search for a string, replace
it with some other string, and create a new file containing the changes.
Gsar can perform a search and replace in multiple files, overwriting the
originals. Finally, gsar can work as a filter, reading from standard
input and writing to standard output.

Example:

- replace string FORM with TEST in file image.iff
gsar -o -sFORM -rTEST image.iff

- display search and replace strings only
gsar -B -sFORM -rTEST image.iff

- display ascii search result only
gsar -sFORM -c16 image.iff

- display hex search result only
gsar -sFORM -x16 image.iff





Uploaded using: archives.aros-exec.org


Contents of util/cli/gsar-1.21.i386-aros.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
drwx------ 65534/65534       0       0 ****** -lhd- 0000 Mar 26 01:56 gsar-1.21/
-rwx------ 65534/65534    1186    2425  48.9% -lh5- a886 Mar 26 01:56 gsar-1.21/gsar-1.21.readme
drwx------ 65534/65534       0       0 ****** -lhd- 0000 Mar 26 01:26 gsar-1.21/i386-AROS/
-rwxrw-rw- 65534/65534   12934   35070  36.9% -lh5- 3efb Mar 26 01:26 gsar-1.21/i386-AROS/gsar
drwx------ 65534/65534       0       0 ****** -lhd- 0000 Mar 26 01:22 gsar-1.21/original-source/
-rwx------ 65534/65534    2886    8659  33.3% -lh5- ed2b Mar 26 01:21 gsar-1.21/original-source/arg_func.c
-rwx------ 65534/65534     426     865  49.2% -lh5- bb93 Mar 26 01:21 gsar-1.21/original-source/arg_func.h
-rwx------ 65534/65534     333     691  48.2% -lh5- 0b69 Mar 26 01:21 gsar-1.21/original-source/comp_dep.h
-rwx------ 65534/65534    1316    2951  44.6% -lh5- c407 Mar 26 01:21 gsar-1.21/original-source/compile.txt
-rwx------ 65534/65534    7119   18326  38.8% -lh5- c3da Mar 26 01:21 gsar-1.21/original-source/copying
-rwxrw-rw- 65534/65534   12934   35070  36.9% -lh5- 3efb Mar 26 01:22 gsar-1.21/original-source/gsar
-rwx------ 65534/65534    2792    6995  39.9% -lh5- 2538 Mar 26 01:21 gsar-1.21/original-source/gsar.1
-rwx------ 65534/65534    8736   30758  28.4% -lh5- c015 Mar 26 01:21 gsar-1.21/original-source/gsar.c
-rwx------ 65534/65534    7666   19968  38.4% -lh5- 6aa6 Mar 26 01:21 gsar-1.21/original-source/gsar.exe
-rwx------ 65534/65534     880    2071  42.5% -lh5- b2a7 Mar 26 01:21 gsar-1.21/original-source/gsar.h
-rwx------ 65534/65534    1860    4328  43.0% -lh5- 0d8c Mar 26 01:21 gsar-1.21/original-source/gsar.tag
-rwx------ 65534/65534    2908    8869  32.8% -lh5- 4a70 Mar 26 01:21 gsar-1.21/original-source/gsar.txt
-rwx------ 65534/65534   41497   42039  98.7% -lh5- 9d54 Mar 26 01:16 gsar-1.21/original-source/gsar121.zip
-rwx------ 65534/65534    3795   13579  27.9% -lh5- 9619 Mar 26 01:21 gsar-1.21/original-source/gsarbmg.c
-rwx------ 65534/65534     232     452  51.3% -lh5- 5333 Mar 26 01:21 gsar-1.21/original-source/makefile
-rwx------ 65534/65534     135     182  74.2% -lh5- 0302 Mar 26 01:21 gsar-1.21/original-source/read.me
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        21 files  109635  233298  47.0%            Mar 26 21:39
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>