Post

Replies

Boosts

Views

Activity

Reply to How to create a UTF-8 encoded text file using do shell script?
The thing that confused me here is your reference to do shell script. I just don't understand AppleScript and don't understand what it's called. I write a script using Google - what I find, I write, I don't understand what is called in AppleScript and why it is needed. write does not change the content of the text? Other commands, for example, printf, echo delete apostrophes '.
Aug ’23
Reply to Apple macOS command line, find -iregex. Where to read about the iregex syntax: how to make a command?
Quote: That depends on whether you pass in the -E flag. See the find man page. On the find man page for the -regex and -regex parameters, here is the information: -regex pattern True if the whole path of the file matches pattern using regular expression. To match a file named './foo/xyzzy', you can use the regular expression './[xyz]' or './foo/.', but not 'xyzzy' or '/foo/'. -iregex pattern Like -regex, but the match is case insensitive. P.S. This forum modifies forum posts so that symbols disappear. There is a double left slash in this expression, and the forum deleted one slash and only one slash remained: './[^~][^/]\. xlsm$'
Jun ’23