Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.
Quick
- ($a, $b....) = unpack("A2A7...", $packed)
- push( array, list )
Thursday, July 25, 2019
s/// return value
s/// appears to have scalar context only, and it returns the number of times the substitution was made.
Tuesday, February 19, 2019
rsync --exclude
The argument to --exclude is a glob not a regexp, so you use * to mean *.
If the argument is a single directory name, put a slash after it.
Argument can be a path fragment, but remember it will be matched against a local path starting from the source/target path specified. If you're not clear what that local path is, you can see it in the output from -n .
And NB that it is --exclude with two dashes. If you only use one dash the setting will be silently ignored.
Subscribe to:
Comments (Atom)