windows - Get a list of IN persons -


i have file have many lines , want able, in batch file, echo lines of persons in now...

my text file :

ledee           in 2016-07-11 07:49:59                                                    stephan         in 2016-07-11 07:56:14                                                    nadiab          in 2016-07-11 07:58:30                                                    angee           in 2016-07-11 07:58:59                                                    stephan         out 2016-07-11 08:05:25                                                    stephan         in 2016-07-11 08:05:29                                                    angee           out 2016-07-11 08:06:05                                                    angee           in 2016-07-11 08:06:11                                                    angee           out 2016-07-11 08:16:11                                                    john            in 2016-07-11 08:44:42                                                    paul            in 2016-07-11 08:48:01                                                    johnny          in 2016-07-11 08:49:26                                                    pablo           in 2016-07-11 08:49:41  

i want able echo list of persons in now. result should :

ledee stephan nadiab john paul johnny pablo 

is possible ?

thanks

to give start:

@echo off setlocal enabledelayedexpansion /f "tokens=1,2" %%a in (text.txt) set _%%a=%%b echo ---- current status: /f "tokens=1 delims=_" %%x in ('set _ ') echo %%x echo ---- people in: /f "tokens=1 delims=_=" %%x in ('set _ ^|find "=in"') echo %%x echo ---- people out: /f "tokens=1 delims=_=" %%x in ('set _ ^|find "=out"') echo %%x 

Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -