?????????????????л??з????????е???з??^M$?? ???sed?????????????????????????Щ?????????cat -A????

????????????.*??????е??????????&???????????????????&????????????Щ???????cat -A???????sed??????滻??????????????У???????????????????з?$(Linux ???з?)?????????????????????????з???^M$(windows ???з?).
??????????е??????sed?????^M????????????.*????????????????????$?????????????е??β?????з??????????^M??$???????????????е???з???????????linux???????з?$. ??vim????Ч?????£?

??????????????з???linux??windows??????vim??unix??????????????????????^M??????????????????е?^M??sed??????????????β??vim?·???[noeol]???????????windows????л??з??????????^M.
?????ó??????sed???????е?^M??????????????????????????sed????windows?′????????????????п????????????????????????^M. ?????????????????????δ???windows????з??????д???????о???
 

????С??
????windows?′???????????з??^M$????????н?β??л??з?
????linux?′?????????????ж???????з?$???????????????
????vim???????????????????л??з?????dos?????^M$?????vim???????dos??????????????????????????????unix??????????????????????е??β????^M?????
????wc -l????$???з????????????????windows?′???????????wc -l???????????????
???????windows?′????????????linux??????????????????Щ?????????????sed???????????Щ???з????????????????????
????sed?????????????windows???з??е?^M??????????????sed?????$??????β????з???????????????з???????