問題タブ [gnuwin32]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
3 に答える
156 参照

regex - sed GnuWin32 を使用して、行内の重複する単語を削除します

テキスト内の繰り返される単語を削除しようとしています。これらの記事で説明されている同じ問題: Remove duplicate words in a line with sed and there: Removal duplicate strings with SED しかし、これらのバリアントは私にとってはうまくいきません。GnuWin32を使っているからかもしれません

必要な結果の例:

入力

出力