From unknown Tue Jun 17 20:13:24 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#71079 <71079@debbugs.gnu.org> To: bug#71079 <71079@debbugs.gnu.org> Subject: Status: Bug Report: Unexpected Termination of grep Process Reply-To: bug#71079 <71079@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:13:24 +0000 retitle 71079 Bug Report: Unexpected Termination of grep Process reassign 71079 grep submitter 71079 Joseph Joshua severity 71079 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 20 10:06:33 2024 Received: (at submit) by debbugs.gnu.org; 20 May 2024 14:06:33 +0000 Received: from localhost ([127.0.0.1]:42847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s93eq-0005GS-JC for submit@debbugs.gnu.org; Mon, 20 May 2024 10:06:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:45444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s93Je-00051w-En for submit@debbugs.gnu.org; Mon, 20 May 2024 09:44:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s93HS-0000ua-1A for bug-grep@gnu.org; Mon, 20 May 2024 09:42:22 -0400 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s93HQ-0005rG-5u for bug-grep@gnu.org; Mon, 20 May 2024 09:42:21 -0400 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-51f1bf83f06so5213280e87.1 for ; Mon, 20 May 2024 06:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716212538; x=1716817338; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Xja/zGzGIGUdo+gNPJAjtsNLsT469QTcqu/yU5Nsh6s=; b=h7A81haSJvOrfPBeCt3ckKPeeGBEbZAIRuB/qOnF9Zyg3HkIozeBIF/xiKnMeKo+05 AGPstMfp5BhEjgoqUnZpYhR27Gl6CnD6jMzw8NTpqcJhrARlSlLGaAhkI093vKnN+sxJ 0OCpSTSFl/kAxJDHfutGGX4CryPTXjTC5qIBgufblw77aS4QmX+j0tNMxZM8BxNHnzbf jj3hceJg969pRysRm7QNsTRB0nexi0rtxggSiOYVmEF5rkz8gohSIYmoPyG3P2+X6wkG 01EGJcbyGs+GZKACEdY4cmT23HZRcnRK3B6TNm1AO53AbhJ79LZIRX8J3lIO45bqj15u LCpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716212538; x=1716817338; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Xja/zGzGIGUdo+gNPJAjtsNLsT469QTcqu/yU5Nsh6s=; b=e0L0OT62xb5Ja1GPogkJO4dCDIzVCLCnZQ0QpwVii2ZZmfUiXpa7LVL+wjbUrNLXMg Xd9E/+Cr/9t45GLWzjI0sKOi5S2n1nafLsyxt+Bkd1j1GOLl5WzxoPBZJF5n+tvPkh0U tu59Vvd9bk4ZiupKH+kMOHrx/rEbCpkg+58h/paqLmQpw5sblX6TqnQK0EJi1pGnljV8 EzHTHyEj/62HrE5JaWfoYTbXIXonID3f4KBAszFqg2E5Mw/A/LCUf5weGg3i0gObvyWQ WvLgZquvoDrSsKHx1hFGFbbTPxPwypfa2fweY8+MtKaFGfe9QENDUxm+gajC2RhqcEAt 1a/Q== X-Gm-Message-State: AOJu0YxHcxfD4LF/wiwCXu+s3PdYVC1NvJtyuwZaT6OYRnELzfDhSNVi 5FuJ1mIvTBmcUySw7VGSu0bvvAxCqr16gXFUaH3lPsH1jCwkeN5TFwjKb1vUwjWdGye1uQZxWC8 V2z944bfTliMkndEyVwtGxNHYe1AJETHn6iLWPg== X-Google-Smtp-Source: AGHT+IGAH8m/AMUDtSBcLNfBwoUKQRpt+3PoEcE5opHgcHoviU5BUAZ8wG/0nbpD7jkjNcGrjxWf6NVrocnN+vJjK3U= X-Received: by 2002:a05:6512:158e:b0:51d:68fb:5d73 with SMTP id 2adb3069b0e04-5220fb768fcmr26510812e87.8.1716212537515; Mon, 20 May 2024 06:42:17 -0700 (PDT) MIME-Version: 1.0 From: Joseph Joshua Date: Mon, 20 May 2024 14:42:03 +0100 Message-ID: Subject: Bug Report: Unexpected Termination of grep Process To: bug-grep@gnu.org Content-Type: multipart/alternative; boundary="000000000000a869ec0618e2de79" Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=okikijoshua123@gmail.com; helo=mail-lf1-x135.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 20 May 2024 10:06:31 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --000000000000a869ec0618e2de79 Content-Type: text/plain; charset="UTF-8" Dear GNU Grep Maintainers, I have upgraded to GNU grep version 3.11 and re-ran the test. Unfortunately, the issue persists. Below are the detailed steps and the transcript of the commands and their outputs: ### System Information: - **Grep Version**: 3.11 - **Operating System**: Debian GNU/Linux 12 (bookworm) - **Memory**: - Total RAM: 2.7 GiB - Used RAM: 1.8 GiB - Free RAM: 594 MiB - Shared: 64 MiB - Buff/Cache: 331 MiB - Available: 926 MiB - Swap: Not configured ### Steps to Reproduce: 1. **Directory Listing**: ```bash $ ls -l /path/to/directory total 4 -rw-r--r-- 1 user user 20 May 17 12:34 file1.txt -rw-r--r-- 1 user user 15 May 17 12:34 file2.txt drwxr-xr-x 2 user user 4096 May 17 12:34 subdir ``` 2. **Command Execution with Specific Pattern**: ```bash $ grep -r 'specific_pattern' /path/to/directory ``` 3. **Output and Errors**: ```plaintext $ script -c "grep -r 'specific_pattern' /path/to/directory" output.log Script started, file is output.log The build failed because the process exited too early. This probably means the system ran out of memory or someone called `kill -9` on the process. Usage: grep [OPTION]... PATTERNS [FILE]... Try 'grep --help' for more information. Script done, file is output.log ``` Please let me know if further information is required to diagnose and resolve this issue. Thank you for your assistance. Yours faithfully, Joshua 09023556682 okikijoshua123@gmail.com --000000000000a869ec0618e2de79 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Dear GNU Grep Maintainers,

I have upgraded = to GNU grep version 3.11 and re-ran the test. Unfortunately, the issue pers= ists. Below are the detailed steps and the transcript of the commands and t= heir outputs:

### System Information:
- **Grep Version**: 3.11- **Operating System**: Debian GNU/Linux 12 (bookworm)
- **Memory**:=C2=A0 - Total RAM: 2.7 GiB
=C2=A0 - Used RAM: 1.8 GiB
=C2=A0 - Free= RAM: 594 MiB
=C2=A0 - Shared: 64 MiB
=C2=A0 - Buff/Cache: 331 MiB=C2=A0 - Available: 926 MiB
=C2=A0 - Swap: Not configured

### St= eps to Reproduce:

1. **Directory Listing**:
=C2=A0 =C2=A0 ```bash=
=C2=A0 =C2=A0 $ ls -l /path/to/directory
=C2=A0 =C2=A0 total 4
= =C2=A0 =C2=A0 -rw-r--r-- 1 user user =C2=A020 May 17 12:34 file1.txt
=C2= =A0 =C2=A0 -rw-r--r-- 1 user user =C2=A015 May 17 12:34 file2.txt
=C2=A0= =C2=A0 drwxr-xr-x 2 user user 4096 May 17 12:34 subdir
=C2=A0 =C2=A0 ``= `

2. **Command Execution with Specific Pattern**:
=C2=A0 =C2=A0 `= ``bash
=C2=A0 =C2=A0 $ grep -r 'specific_pattern' /path/to/direc= tory
=C2=A0 =C2=A0 ```

3. **Output and Errors**:
=C2=A0 =C2=A0= ```plaintext
=C2=A0 =C2=A0 $ script -c "grep -r 'specific_patt= ern' /path/to/directory" output.log
=C2=A0 =C2=A0 Script starte= d, file is output.log
=C2=A0 =C2=A0 The build failed because the process= exited too early. This probably means the system ran out of memory or some= one called `kill -9` on the process.
=C2=A0 =C2=A0 Usage: grep [OPTION].= .. PATTERNS [FILE]...
=C2=A0 =C2=A0 Try 'grep --help' for more i= nformation.
=C2=A0 =C2=A0 Script done, file is output.log
=C2=A0 =C2= =A0 ```

Please let me know if further information is required to dia= gnose and resolve this issue.

Thank you for your assistance.

= Yours faithfully,
Joshua
09023556682
okikijoshua123@gmail.com
--000000000000a869ec0618e2de79-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 20 10:59:09 2024 Received: (at control) by debbugs.gnu.org; 20 May 2024 14:59:09 +0000 Received: from localhost ([127.0.0.1]:43053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s94Tl-0005mR-2J for submit@debbugs.gnu.org; Mon, 20 May 2024 10:59:09 -0400 Received: from mail.cs.ucla.edu ([131.179.128.66]:49438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s94Ti-0005m4-Av for control@debbugs.gnu.org; Mon, 20 May 2024 10:59:07 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id EC7093C00E8B0 for ; Mon, 20 May 2024 07:58:54 -0700 (PDT) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id i3-q8dCO3tLQ for ; Mon, 20 May 2024 07:58:54 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id A18F23C00E401 for ; Mon, 20 May 2024 07:58:54 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu A18F23C00E401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1716217134; bh=K8q3dVyeWUsCXupi9bqvRzrV7k8TqZbsbkn+pl08Ms8=; h=Message-ID:Date:MIME-Version:To:From; b=iv2BjWTbFv6QLWG8nTOzt0tm58Dkq6+TL37WzhTm1G7kFRG8OTRYy6KeNWJnw/QWY DX5KZWv1E09fEGiRhvMNurDAnZWGh5ZE+lXidJPd2z+NRtrsV9bklP6lbyhy6sqiQV gLpuSqVlEU85biYkCon0DhL76uwhXvfbL0d7DfTbkSUMwyLJRoc3Q20gz2F+kLZJyj 18m5CvSRUiS89BRtIa79MUsDtnW0/HODCRjwumZmXegsPr6Mceh3Yck+iDkwhbL13H 9HONBHUN4JQhr5bHJk2PNAsKjzQ2v8/dfPlyK3waBxjpacNu7DY/RhFnXMg6xLbg+6 FkGVidxd1SKmw== X-Virus-Scanned: amavis at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id i77iPoLAMgHk for ; Mon, 20 May 2024 07:58:54 -0700 (PDT) Received: from [192.168.254.12] (unknown [47.154.17.165]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 8981D3C00E8B0 for ; Mon, 20 May 2024 07:58:54 -0700 (PDT) Message-ID: <05b4349d-a70d-494e-a3e4-45d5ad926bde@cs.ucla.edu> Date: Mon, 20 May 2024 07:58:54 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: control@debbugs.gnu.org From: Paul Eggert Subject: merge 71013 71079 Organization: UCLA Computer Science Department Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) merge 71013 71079 From debbugs-submit-bounces@debbugs.gnu.org Mon May 20 11:04:18 2024 Received: (at 71079) by debbugs.gnu.org; 20 May 2024 15:04:18 +0000 Received: from localhost ([127.0.0.1]:43078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s94Yj-0000Be-NP for submit@debbugs.gnu.org; Mon, 20 May 2024 11:04:17 -0400 Received: from mail.cs.ucla.edu ([131.179.128.66]:38786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s94Yg-0000BW-FR for 71079@debbugs.gnu.org; Mon, 20 May 2024 11:04:16 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 6FCF73C00E8B0; Mon, 20 May 2024 08:04:04 -0700 (PDT) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id g5NtJN6zyRlz; Mon, 20 May 2024 08:04:04 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 2B99F3C00E401; Mon, 20 May 2024 08:04:04 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 2B99F3C00E401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1716217444; bh=PBg+86AuXLJwyOPTQ2ex7fPln4M9+goVU7IInPgob0s=; h=Message-ID:Date:MIME-Version:To:From; b=C1bJNE060md+ilb5qUQBuh7ODQROg5IfI567Nszny4FWlrTiaw3Z3F2kVcjq9IciG jAVycA8gR2mQZrTiFBTBKoREp/NKUkPoGDJnTFJA/0SaeuY2bbd387ZH1KV8adAsg5 WGXTuOB89/K8bUBuDH7dsKz5XBOw3npJWAKSibwxYmyQ58k9UXSunJZastL/B/iMw1 RtZBh7tA4DPWBpVh3RX+m5O3/dg5apRuN/Bzkf/tq9Zk29Bz8vYST1/QtSsisQ57QM Eu5fXLi86qgFXE9V/d6c6bv9BxwpYcYxI9b+nVwbuodn8F9uR1F0ALSwmtrOihtHn9 CUc1XTUNuKIFg== X-Virus-Scanned: amavis at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id ry0leklqwgFF; Mon, 20 May 2024 08:04:04 -0700 (PDT) Received: from [192.168.254.12] (unknown [47.154.17.165]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 06EF23C00E8B0; Mon, 20 May 2024 08:04:04 -0700 (PDT) Message-ID: <2b02264f-6b49-4d21-8c62-6bc081e18d64@cs.ucla.edu> Date: Mon, 20 May 2024 08:04:03 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#71013: Bug Report: Unexpected Termination of grep Process To: Joseph Joshua References: Content-Language: en-US From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 71079 Cc: 71079@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: 71079@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2024-05-17 05:52, Joseph Joshua wrote: > 1. Run the following command as part of a build process: grep -r 'pattern' > /path/to/directory Please give us a way to reproduce the bug; including the actual pattern that you're using. Otherwise we won't be able to help. Also, please reply to <71079@debbugs.gnu.org> instead of creating a new bug report for each email message. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon May 20 14:05:07 2024 Received: (at 71079) by debbugs.gnu.org; 20 May 2024 18:05:07 +0000 Received: from localhost ([127.0.0.1]:43989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s97Ni-0005D0-PY for submit@debbugs.gnu.org; Mon, 20 May 2024 14:05:07 -0400 Received: from resdmta-c2p-566137.sys.comcast.net ([96.102.19.44]:51418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s97Nc-0005CQ-Ic for 71079@debbugs.gnu.org; Mon, 20 May 2024 14:05:05 -0400 Received: from resomta-c2p-555922.sys.comcast.net ([96.102.18.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 256/256 bits) (Client did not present a certificate) by resdmta-c2p-566137.sys.comcast.net with ESMTPS id 91zjsv11ygfP097LUsykTu; Mon, 20 May 2024 18:02:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcastmailservice.net; s=20211018a; t=1716228168; bh=OwSPTCBIdLq4kz/e+UWNGoO7f3EDcoM24vTokSIsRpI=; h=Received:Received:Received:Received:From:To:Subject:Date: Message-ID:Xfinity-Spam-Result; b=KUG0uW1IN/nz5CNCU7X7wBJ9e+CGkCR/rNiz+X67ngl04upvojpr1Eftdg/ZVGg8F OX4KRY38mAw20S7gNm8K29A+JiQMC07k8hU4qNJyvbIUIOfqHjHZo/LuTf6WTkPpCg FQFQSyrpk9XfGEyF3KTXwFlwG44rzcttZw4XJa71c6eI+SCuObbxyb4Dc4l6UthVl7 0jzXoMvoUp/QE4OH7SCPqB8BI5u/XTbK1ifWGL4+1dy+K/gMwyptu6SjCEGdRDymj8 Om+12yODGMjAV2ejZBASsYDCBLd874lZ576Twb2wEbTFLQ42Ce82fMXhZt9dv3It29 xk4WJBZWX3dLQ== Received: from hobgoblin.ariadne.com ([IPv6:2601:192:4a00:430::9c9a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 256/256 bits) (Client did not present a certificate) by resomta-c2p-555922.sys.comcast.net with ESMTPSA id 97LTscacqmoLE97LTsgzVR; Mon, 20 May 2024 18:02:48 +0000 Received: from hobgoblin.ariadne.com (localhost [127.0.0.1]) by hobgoblin.ariadne.com (8.16.1/8.16.1) with ESMTPS id 44KI2kSV870447 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 20 May 2024 14:02:46 -0400 Received: (from worley@localhost) by hobgoblin.ariadne.com (8.16.1/8.16.1/Submit) id 44KI2k1I870444; Mon, 20 May 2024 14:02:46 -0400 X-Authentication-Warning: hobgoblin.ariadne.com: worley set sender to worley@alum.mit.edu using -f From: "Dale R. Worley" To: Joseph Joshua Subject: Re: bug#71079: Bug Report: Unexpected Termination of grep Process In-Reply-To: (okikijoshua123@gmail.com) Date: Mon, 20 May 2024 14:02:46 -0400 Message-ID: <877cfoe4zd.fsf@hobgoblin.ariadne.com> X-CMAE-Envelope: MS4xfLR5NXZoCZ8WfFfffZG3ogIlHmBadQyRb2lYcdTgqxz3dhV2IXEoddkn83PZk6S2JoaQdjSJIze0reiJDFddXqYCWCeT2WdVe8m5pXkw0OAwyKtYsmy0 Rmd/gJxsrfKT5F0uNO68Xg6A745DQwLWSGQOQ1cj7PRQXIbFQCtpgXyjGTqve8QP5NNGNIWHJZ4tMi2mJH6grSNoVP7aLzsCSwAj/9S/rUfwxhkkJpv7xZFw /fMUbcsP2Q+1qd4ahqtjalrLRZfSRtH2lYecjhrqCd0= X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 71079 Cc: 71079@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Joseph Joshua writes: $ ls -l /path/to/directory total 4 -rw-r--r-- 1 user user 20 May 17 12:34 file1.txt -rw-r--r-- 1 user user 15 May 17 12:34 file2.txt drwxr-xr-x 2 user user 4096 May 17 12:34 subdir Does this mean that the actual name of the directory is /path/to/directory, or is that a placeholder for the real name? Although that isn't likely to matter much. And since you're running "grep -r" and grep is looking into files in subdirectories, for completeness, what is "ls -alR"? > 3. **Output and Errors**: > ```plaintext > $ script -c "grep -r 'specific_pattern' /path/to/directory" output.log > Script started, file is output.log > The build failed because the process exited too early. This probably > means the system ran out of memory or someone called `kill -9` on the > process. > Usage: grep [OPTION]... PATTERNS [FILE]... > Try 'grep --help' for more information. > Script done, file is output.log > ``` Can you please check whether lines containing "The build failed because the process exited too early" or "Usage: grep" occur in any of the files in /path/to/directory? But as others have noted, telling us what "specific_pattern" is is essential if we're to give you any help. Dale