-l, --files-with-matches
Suppress normal output; instead print the name of each input
file from which output would normally have been printed. The
scanning will stop on the first match.
grep -l
, यह उस में ठीक लग रहा है जब एक मैच पाया जाता है, मैच युक्त फ़ाइल नाम गूँजती है।
हालांकि जब मैं grep -ln
करता हूं, तो grep घटना की हर पंक्ति को जोड़ता है।
क्या grep -l
वास्तव में रोकने का मतलब है जब मैच की पहली घटना पाई जाती है और स्कैनिंग रोकती है, जबकि grep -ln
-l
ध्वज को अनदेखा कर देगा?