- uniq
for /f "usebackq tokens=*" %a in (`type ファイル名`) do @(if not !BK!==%a echo %a)&&set BK=%a
- uniq -d
for /f "usebackq tokens=*" %a in (`type ファイル名`) do @(if !BK!==%a echo %a)&&set BK=%a
Go to list of users who liked
More than 5 years have passed since last update.
for /f "usebackq tokens=*" %a in (`type ファイル名`) do @(if not !BK!==%a echo %a)&&set BK=%a
for /f "usebackq tokens=*" %a in (`type ファイル名`) do @(if !BK!==%a echo %a)&&set BK=%a
Register as a new user and use Qiita more conveniently
Go to list of users who liked