mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
9 lines
105 B
Bash
9 lines
105 B
Bash
|
#! /bin/sh
|
||
|
set -e
|
||
|
|
||
|
for i in "$@"; do
|
||
|
i="./$i"
|
||
|
sed '/^#:/d' < "$i" > "$i.tmp"
|
||
|
mv -f "$i.tmp" "$i"
|
||
|
done
|