![]() Unfortunately none of them have the basic, down and dirty explanations of what the different operators do. I've visited dozens of sties that tout that they are for "newbies". Sorry if these seem like trite questions. S*$ I'm guessing these go together to perform the function that checks for a null value. I have no idea what it's function is here. \ To me, this is part of a path statement. ^ Has something to do with string comparison, but I don't know what it does. ( ) Why are the braces required to enclose the statement (it fails when I remove them)? does exactly as I want.Ī) Why does ne work in this case, and not in the above example? (!~ works as well)ī) / / begins, and ends the argument. The command: -if "$ColorSpace ne /(^\s*$)/" -Filename -ColorSpace. What does the carrot do? =~ means equal, / is used to enclose the argument, the pipe equals the "OR" statement but I do not understand what the carrot does.Ĥ. The command: -if "$ColorSpace =~ /^(Adobe|Uncal)/ and $UserComment !~ /^_/" -FileName -Colorspace. T does not.ĭoes !~ equal ne? Why does ne not work in this case?ģ. The command: -if "$ColorSpace ne /^(sRGB)/" -FileName -ColorSpace. ![]() The command: -if "$ColorSpace !~ /^(sRGB)/" -FileName -ColorSpace. The command: -if "$ColorSpace = /^(sRGB)/" -FileName -ColorSpace. ![]() The command: -if "$ColorSpace =~ /^(sRGB)/" -FileName -ColorSpace. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |