mirror of
https://github.com/leahneukirchen/mblaze
synced 2024-11-15 18:14:02 +00:00
9 lines
161 B
Bash
Executable File
9 lines
161 B
Bash
Executable File
#!/bin/sh
|
|
# mrecode - recode stdin respecting PIPE_CHARSET into UTF-8
|
|
|
|
if [ -n "$PIPE_CHARSET" ]; then
|
|
exec iconv -f "$PIPE_CHARSET" -t UTF-8
|
|
else
|
|
exec cat
|
|
fi
|