]> git.ipfire.org Git - thirdparty/util-linux.git/commit - configure.ac
exch: new command exchaging two files atomically
authorMasatake YAMATO <yamato@redhat.com>
Wed, 6 Dec 2023 15:17:26 +0000 (00:17 +0900)
committerKarel Zak <kzak@redhat.com>
Thu, 14 Dec 2023 08:47:00 +0000 (09:47 +0100)
commitcd094a05880cf1132762c5f9724c0945557c7638
tree344de10aad55f02df471a654d010cb9d6356f054
parent2f252cc8b19d96085c691ba75ed0ca3f2ae3aa7d
exch: new command exchaging two files atomically

An example session:

$ echo A > a
$ echo B > b
$ ./exch a b
$ cat a
B
$ cat b
A

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
bash-completion/Makemodule.am
bash-completion/exch [new file with mode: 0644]
configure.ac
meson.build
misc-utils/Makemodule.am
misc-utils/exch.1.adoc [new file with mode: 0644]
misc-utils/exch.c [new file with mode: 0644]
misc-utils/meson.build
tests/commands.sh
tests/expected/exch/exch [new file with mode: 0644]
tests/ts/exch/exch [new file with mode: 0755]