Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- if {%1} equ {} (
- set /p inputstr=
- echo %inputstr% |find /v /c ""
- set inputstr=
- ) else if {%1} equ {-l} (
- type %2 |find /v /c ""
- ) else (
- echo usage: wc [-l] filename
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement