Your script reads text from standard input. Print every line that contains the word error, written in any mix of capital and small letters. The letters error may be part of a longer word (so errors and Terror count). Keep the lines in their original order and print them unchanged. If no line matches, print nothing.
Example input:
Disk error found
All good
ERROR: fan stopped
Example output:
Disk error found
ERROR: fan stopped
The script must end with exit status 0 even when nothing matches (grep returns 1 in that case), so finish the command with || true.

Your script reads text from **standard input**. Print every line that contains the word `error`, written in any mix of capital and small letters. The letters `error` may be part of a longer word (so `errors` and `Terror` count). Keep the lines in their original order and print them unchanged. If no line matches, print nothing. Example input: ``` Disk error found All good ERROR: fan stopped ``` Example output: ``` Disk error found ERROR: fan stopped ``` The script must end with exit status 0 even when nothing matches (grep returns 1 in that case), so finish the command with `|| true`. Your script reads text from **standard input**. Print one number: how many lines do **not** contain the text `debug`. The match is case sensitive, so `DEBUG` and `Debug` do not contain `debug`. A blank line does not contain `debug` either. If the input is empty, print `0`. Example input: ``` debug: start run debug: stop end ``` Example output: ``` 2 ``` The script must end with exit status 0 even when nothing matches (grep returns 1 in that case), so finish the command with `|| true`. Your script gets a file name as its **first argument** (`$1`). Print the lines of that file that start with a capital letter (`A` to `Z`) **and** end with a full stop `.`. A line is not changed in any way; there are no spaces at the ends of lines. A line holding only `A.` counts. If no line qualifies, print nothing. Example file: ``` The sun is up. the moon is down. Go home ``` Example output: ``` The sun is up. ``` The script must end with exit status 0 even when nothing matches (grep returns 1 in that case), so finish the command with `|| true`.