]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r322177: Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1)
authorkevans <kevans@FreeBSD.org>
Thu, 18 Jan 2018 21:29:46 +0000 (21:29 +0000)
committerkevans <kevans@FreeBSD.org>
Thu, 18 Jan 2018 21:29:46 +0000 (21:29 +0000)
commitb3e92c201285ccffefab78500eae3e9c4c4054df
treec88481ac103fce2c00c1030e881d309d4eae8d74
parentb299fcd9ac0152c5f0b8648847979f5fb92a54a9
MFC r322177: Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1)

Instead of using a non-configurable ".BAK" suffix, respect the
SIMPLE_BACKUP_SUFFIX environment variable also used by patch(1). This
simplifies cleanup operations in some patch/indent workflows.
usr.bin/indent/indent.1
usr.bin/indent/indent.c