Portál AbcLinuxu, 14. srpna 2025 08:56
sed 's/^M/\n/g'ale nefunguje to..
function fromdos () { if [ "$1" ]; then case "$1" in -help|-h|--help* ) echo usage: fromdos file ;; * ) cat -v $1 | sed 's/\^M//' # tohle je skutecne podstatne ;; esac else echo usage: fromdos file fi }
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.