Symbian3/SDK/Source/GUID-026164D5-6A32-5688-9D28-926DC0A61F35.dita
author Dominic Pinkman <dominic.pinkman@nokia.com>
Tue, 20 Jul 2010 12:00:49 +0100
changeset 13 48780e181b38
parent 0 89d6a7a84779
permissions -rw-r--r--
Week 28 contribution of SDK documentation content. See release notes for details. Fixes bugs Bug 1897 and Bug 1522.

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept xml:lang="en" id="GUID-026164D5-6A32-5688-9D28-926DC0A61F35"><title>grep</title><prolog><metadata><keywords/></metadata></prolog><conbody><p><userinput>grep [options] PATTERN [FILE...]</userinput> </p> <p><userinput>grep [options] [-e PATTERN | -f FILE] [FILE...]</userinput> </p> <p>The <codeph>grep</codeph> command searches the named input files for lines containing a match to a given pattern. For more information about using the <codeph>grep</codeph> command, search <xref scope="external" href="http://www.freebsd.org/cgi/man.cgi">http://www.freebsd.org/cgi/man.cgi</xref> by specifying <codeph>grep</codeph> as the search keyword and by selecting the <b>FreeBSD 6.2-Release</b> option from the release list. </p> <p>The following options are <b>not</b> supported by the Symbian version of the <codeph>grep</codeph> command: </p> <ul><li id="GUID-F3DD8A54-B824-5107-88D6-7403DBE40A3E"><p> <codeph>-b, --byte-offset</codeph> </p> </li> <li id="GUID-D32B2C4A-C9D9-59D3-80E2-4BDDBDC84446"><p> <codeph>--binary-files=TYPE </codeph> </p> </li> <li id="GUID-9E651087-6C7D-5857-9235-E42CE80ACC8B"><p> <codeph>--colour[=WHEN], --color[=WHEN] </codeph> </p> </li> <li id="GUID-F07614AC-1E71-5012-9F59-4EF29A6BE44C"><p> <codeph>-D ACTION, --devices=ACTION </codeph> </p> </li> <li id="GUID-47F601AE-1C05-52F9-ADEB-0269801826E9"><p> <codeph>-P, --perl-regexp </codeph> </p> </li> <li id="GUID-A1C5C7A2-839E-5A3B-9A9A-78F6C4542AE0"><p> <codeph>-f FILE, --file=FILE </codeph> </p> </li> <li id="GUID-B70DF847-D213-50C8-BF36-B40DCF7CC302"><p> <codeph> -G, --basic-regexp </codeph> </p> </li> <li id="GUID-C142C809-E176-5C92-A654-EB28C86C51EA"><p> <codeph>--help </codeph> </p> </li> <li id="GUID-96CAB075-F0DD-592F-B4BA-0E69C77372CB"><p> <codeph>-I </codeph> </p> </li> <li id="GUID-287961A7-A211-555B-9E72-67D48A2B4E23"><p> <codeph>--label=LABEL </codeph> </p> </li> <li id="GUID-189537DE-5357-5A24-BEEF-764994BF93BE"><p> <codeph>--line-buffered </codeph> </p> </li> <li id="GUID-9EC6035D-D3D6-5212-BC6A-E9E41F9464B6"><p> <codeph> -U, --binary </codeph> </p> </li> <li id="GUID-1CFD495F-70CE-5803-AAE1-8116F0B831BD"><p> <codeph> -u, --unix-byte-offsets </codeph> </p> </li> <li id="GUID-9148735A-1002-5B02-9F5F-0E524C29D08A"><p> <codeph> -V, --version </codeph> </p> </li> <li id="GUID-7B97DA61-C80E-56FF-87FA-6B120DBC30FA"><p> <codeph>-y </codeph> </p> </li> <li id="GUID-165E0027-3FCE-5701-8D1A-EFD3710D4BF8"><p> <codeph>--null </codeph> </p> </li> <li id="GUID-F29032AC-55A4-5799-A42C-CFF475327689"><p> <codeph>-Z, --decompress </codeph> </p> </li> <li id="GUID-48EA4689-E555-5BE1-9559-30DE63E896C6"><p> <codeph> -J, --bz2decompress </codeph> </p> </li> </ul> <p> <b>Note:</b> You cannot use the <codeph>grep</codeph> command to search for patterns by taking input from a standard input. </p> <section><title>Copyright information</title> <p>For information about documentation copyrights associated with the <codeph>grep</codeph> command, see <xref scope="external" href="http://www.freebsd.org/copyright/freebsd-doc-license.html">http://www.freebsd.org/copyright/freebsd-doc-license.html</xref> and <xref scope="external" href="http://www.gnu.org/licenses/fdl.html">http://www.gnu.org/licenses/fdl.html</xref>. </p> </section> </conbody></concept>