mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-24 13:26:52 +03:00
c7638e1a75
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
7 lines
175 B
Bash
7 lines
175 B
Bash
#silent
|
|
S Sort selection
|
|
TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1
|
|
cat %b > $TMPFILE
|
|
cat $TMPFILE| sort >%b
|
|
rm -f $TMPFILE
|