@hona_chanposted at 2021-04-29more_horizAre you sure you want to delete the question?closeIf your question is resolved, you may close it.Leaving a resolved question undeleted may help others!We hope you find it useful!Close questionDelete questionパイプ機能を使って最後にerが付く単語をアルファベット順に並べるQ&Aコマンドパイプ$ cat /usr/share/dict/words wordsに入っている単語に対して、 最後にerが付く単語だけをアルファベット順に表示するにはどのようなコマンドにすれば良いですか? 00 likessubscribe
@atm-snagposted at 2021-04-29more_horizOS にもよると思いますが,MacOSだと以下でできそうです. $ grep 'er$' /usr/share/dict/words | sort 00Like