Re: [PATCH] rename: change "expression" to "original"

Benno Schulenberg <[email protected]>
Newsgroups org.kernel.vger.util-linux
Message-ID <[email protected]>
Op 22-06-2025 om 01:26 schreef Haelwenn (lanodan) Monnier:
>   == SYNOPSIS
>   
> -*rename* [options] _expression replacement file_...
> +*rename* [options] _original replacement file_...
>   
>   == DESCRIPTION
>   
> -*rename* will rename the specified files by replacing the first occurrence of _expression_ in their name by _replacement_.
> +*rename* will rename the specified files by replacing the first occurrence of the _original_ substring in their name by _replacement_.

Instead of using the word "original" (where I would first think: original
what?), why not use "substring"?  It describes what the thing actually is,
and fits better in the rest of the existing wording.


Benno
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEFo5vQpe/16ea/USWUUu+Lrjhlh8FAmhYJosFAwAAAAAACgkQUUu+Lrjhlh/N
xQ/8DZShLutziYlUw/NDk/mJ/PmdkXBrDaBKttqF5Rqusk7dqMCIlYsDCVCaG0B/a5TOZe5UqFoh
reHb5xZoUh9iioqAa+ML15+IIAricgkLgCrPZCBE4gowpdW7zOleDyYSNtZ6YYOUX82DUDBHQMJg
RFBi6rjR+8tDjZXK3MP2KVH6h0zTcJWvpqDG0uUyUL70Y2+mDuK04Kn2HlxuCfh1QRD5UPWVaoVz
LbJAJ8vcBqJnncDxOn/ffYsLmdQe1xC903wx832Z4PnEPf/vtiCce8qf24GaNCjg7NydDe5cmuMC
jSdTya8cOdbpmKAFQoqPexbvcj3O+3fNrCAHmXoyHak6dZ7Ba3uFWlJFN/x01RHWXjkLZgo9ZVoo
ZCkma3opIGg0Es1k1Fx24vDOY9Bvq4XZ86wfb+ZWNh/df+G8w3u0YqKuVZfTT8c2IqMV606+1UaE
qZq3XZ4a61fEazMtYmGjc3CsOhg64NOER0ADx9EV3ND4Ir6Itogs9KbMIkfboFmifQgT/iNzunBQ
X359m+4ly9l2jtLsKU4yCkwF0P8O9AJKVvzUSjxMhl6AhfhKkxeASNJeiggEFNDUmEnbIDi1S0Ij
GS/cEsA0GLIH+3dddER26Nplx1PjW/BNtySClgYBq9l6IVq9V3faGz0H8z0RngJPUkRKvePYxL0T
IqY=
=/ajW
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.