Skip to main content
7 events
when toggle format what by license comment
Aug 18, 2021 at 9:54 comment added tsh @RomeoNinov locale command says LANG=C.UTF-8, LC_CTYPE="C.UTF-8", ... I hadn't touched that setting before. Should I set locale to something else?
Aug 18, 2021 at 5:33 comment added Romeo Ninov What are settings for locale?
Aug 18, 2021 at 4:37 comment added Tom Yan First of all you don't need cat. sed can take a file as input, just don't use -i. Besides sed s/\(\s\| \)//g should probably work (not sure about portability whatsoever).
Aug 18, 2021 at 4:04 comment added tsh @TomYan Seems diff <(cat A.txt | sed 's/\s//g' | sed 's/ //g') <(cat B.txt | sed 's/\s//g' | sed 's/ //g') works in my case. Though quite ugly...
Aug 18, 2021 at 3:44 comment added Tom Yan diff against the output of sed? <()
Aug 18, 2021 at 3:25 review First posts
Aug 19, 2021 at 0:15
Aug 18, 2021 at 3:24 history asked tsh CC BY-SA 4.0