I have setup the docker container to run the model evaluation.
In bash list all files in cwd that don't contain asdf in the contents (case-ignore)
In bash list all files in cwd that don't contain asdf in the contents (case-ignore)
To list all files in the current working directory (CWD) that do not contain the string "asdf" in their contents (case-insensitive), you can use the following Bash command:
1 | grep -L -i "asdf" * |
1 2 | file3.txt file4.txt |
I extracted the following code from that output:
1 2 3 4 | #!/bin/bash # List all files in the current working directory (CWD) that do not contain the string "asdf" in their contents (case-insensitive) grep -L -i "asdf" * |
Running the following program:
1 2 3 4 | #!/bin/bash # List all files in the current working directory (CWD) that do not contain the string "asdf" in their contents (case-insensitive) grep -L -i "asdf" * |
asdf
hello
this
Testing if the previous output contains the string lower
: False
Testing if the previous output contains the string asdf
: True
Testing if the previous output contains the string this
: True
Testing if the previous output contains the string there
: False
Testing if the previous output contains the string hello
: True