(2) Script will be activated, and read through input file and waiver.csv, to generate a filtered input to output path (1) type command to source the script, perl -input -waiver -output How would you do it if you had to use pencil and paper and no computer? Please describe the stepsīy DespacitoPerl (Acolyte) on at 03:21 UTC Previous may be a bit messy, this one more details and complete How is this different from your previous question - Grep asterisk sign in input file ?īy DespacitoPerl (Acolyte) on at 07:00 UTC My ($pins2, $threshold2, $newthreshold2) = split /,/, $vline Next unless $vline =~ /\S/ #skip blank lines You may want to use ! -type d with find to exclude directories from the output, or (better), look at the -exclude=PATTERN options to tar.# Set up a hash to receive the information for the current directory, so everything will be stored. Note that tar stores files recursively, and the first output of that find is. So flash_drive_data files were being included. flash_drive_data/index2/ask-sdk-core/dist/dispatcher/error/handler/ not -path './flash_drive_data*' -exec tar cfv '' + I was getting output including things like: It seemed like I did (with some unexpected behavior with grep as I explained above). not -path './flash_drive_data*' I was getting nothing related to flash_drive_data. Finally, the objective of what I was doing above was to make sure that when I ran find. Why? Then, when I did grep "**" I believe I got all the files (or at least I think I did). When I replaced grep "*flash*" with just grep "*", I expected to get all files returned by find, but I got none. The 3/flas at the end is being highlighted.Ģ. local/lib/python3.7/site-packages/jedi/third_party/typeshed/third_party/2and3/flask/json/tag.pyi local/lib/python3.7/site-packages/jedi/third_party/typeshed/third_party/2and3/flask/json local/lib/python3.7/site-packages/jedi/third_party/typeshed/third_party/2and3/flask/sessions.pyi local/lib/python3.7/site-packages/jedi/third_party/typeshed/third_party/2and3/flask/templating.pyi local/lib/python3.7/site-packages/jedi/third_party/typeshed/third_party/2and3/flask/signals.pyi local/lib/python3.7/site-packages/jedi/third_party/typeshed/third_party/2and3/flask/cli.pyi local/lib/python3.7/site-packages/jedi/third_party/typeshed/third_party/2and3/flask When I run the above command, I get a few "partial" hits (i.e they do not completely match the *flash* pattern. There are a few things which I tried that are confusing me:ġ. not -path './flash_drive_data*' | grep "./*flash*" I am running the following command in order to find all files/directories that do not have anything to do with "flash_drive_data": find.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |