source: chapter06/grep.xml@ 0b960a2

Last change on this file since 0b960a2 was a0e1913, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Removed the package name from the dependencies titles.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multi-arch/BOOK@4691 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.7 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[c2133bc]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[673b0d8]3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
[752f4e5]6<sect1 id="ch-system-grep" role="wrap">
[673b0d8]7<title>Grep-&grep-version;</title>
8<?dbhtml filename="grep.html"?>
9
10<indexterm zone="ch-system-grep"><primary sortas="a-Grep">Grep</primary></indexterm>
[6370fa6]11
[a001133]12<sect2 role="package"><title/>
[5888299]13<para>The Grep package contains programs for searching through files.</para>
14
[a001133]15<segmentedlist>
16<segtitle>&buildtime;</segtitle>
17<segtitle>&diskspace;</segtitle>
18<seglistitem><seg>0.1 SBU</seg><seg>5.8 MB</seg></seglistitem>
19</segmentedlist>
[673b0d8]20
[a001133]21<segmentedlist>
[a0e1913]22<segtitle>&dependencies;</segtitle>
[a001133]23<seglistitem><seg>Bash, Binutils, Coreutils,
[69993f4]24Diffutils, GCC, Gettext, Glibc, Make, Sed, and Texinfo</seg></seglistitem>
[a001133]25</segmentedlist>
26</sect2>
[3554fa3a]27
[a001133]28<sect2 role="installation">
[73aedd1d]29<title>Installation of Grep</title>
30
[83865af]31<para arch="raq2">This patch updates config.guess and config.sub for RaQ2 server.</para>
32
33<screen arch="raq2"><userinput>patch -Np1 -i ../grep-&grep-version;-raq2_config_update-1.patch</userinput></screen>
34
[73aedd1d]35<para>Prepare Grep for compilation:</para>
36
[c288d97]37<screen><userinput>./configure --prefix=/usr --bindir=/bin --with-included-regex</userinput></screen>
[73aedd1d]38
39<para>Compile the package:</para>
40
41<screen><userinput>make</userinput></screen>
42
[673b0d8]43<para>To test the results, issue:
[8a5f906]44<userinput>make check</userinput>.</para>
[73aedd1d]45
[69993f4]46<para>Install the package:</para>
[73aedd1d]47
48<screen><userinput>make install</userinput></screen>
49
50</sect2>
[6370fa6]51
[5888299]52
[c6cb3aa]53<sect2 id="contents-grep" role="content"><title>Contents of Grep</title>
[673b0d8]54
[c6cb3aa]55<segmentedlist>
56<segtitle>Installed programs</segtitle>
[69993f4]57<seglistitem><seg>egrep (link to grep), fgrep (link to grep), and grep</seg></seglistitem>
[c6cb3aa]58</segmentedlist>
[673b0d8]59
[2256873]60<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
[3ed279f]61<?dbfo list-presentation="list"?>
[c5f9180]62<?dbhtml list-presentation="table"?>
[73aedd1d]63
[b8a819f]64<varlistentry id="egrep">
65<term><command>egrep</command></term>
[c6cb3aa]66<listitem>
[2256873]67<para>Prints lines matching an extended regular expression</para>
[3ed279f]68<indexterm zone="ch-system-grep egrep"><primary sortas="b-egrep">egrep</primary></indexterm>
[c6cb3aa]69</listitem>
70</varlistentry>
[673b0d8]71
[b8a819f]72<varlistentry id="fgrep">
73<term><command>fgrep</command></term>
[c6cb3aa]74<listitem>
[2256873]75<para>Prints lines matching a list of fixed strings</para>
[3ed279f]76<indexterm zone="ch-system-grep fgrep"><primary sortas="b-fgrep">fgrep</primary></indexterm>
[c6cb3aa]77</listitem>
78</varlistentry>
[673b0d8]79
[b8a819f]80<varlistentry id="grep">
81<term><command>grep</command></term>
[c6cb3aa]82<listitem>
[2256873]83<para>Prints lines matching a basic regular expression</para>
[3ed279f]84<indexterm zone="ch-system-grep grep"><primary sortas="b-grep">grep</primary></indexterm>
[c6cb3aa]85</listitem>
86</varlistentry>
87</variablelist>
[673b0d8]88
89</sect2>
90
91</sect1>
[ef13657]92
Note: See TracBrowser for help on using the repository browser.