trim off some characters of lines in txt file
Posted: 01 Aug 2017 09:49
Hi all forks,
So glad to be in this group and got some replies from you regarding this topic
"have a list of folder containing one file for each folder, need to find this file path in another folder/subfolder"
Now I had a solution for it but I need to trim off all the ==> for each line in one txt file as below:
==> 500007011000.S3S
==> 500011011000.S3S
==> 500016011000.S3S
==> 500072010400.S3S
==> 500136010100.S3S
==> 500022010300.S3S
==> 500007011000.S3S
==> 500008011000.S3S
==> 500019011200.S3S
==> 500008011000.S3S
==> 500009011000.S3S
==> 500012011000.S3S
==> 500014011000.S3S
==> 500028011201.S3S
==> 500135010100.S3S
==> 500143010002.S3S
==> 500142010100.S3S
==> 500144010100.S3S
==> 500006011000.S3S
==> 500007011000.S3S
==> 500008011000.S3S
==> 500009011000.S3S
==> 500010011000.S3S
==> 500011011000.S3S
==> 500012011000.S3S
==> 500014011000.S3S
==> 500016011000.S3S
==> 500134010100.S3S
==> 500028011201.S3S
==> 500129010200.S3S
==> 500072010400.S3S
==> 500135010100.S3S
==> 500143010002.S3S
I need to be as this in new txt file
500007011000.S3S
500011011000.S3S
500016011000.S3S
500072010400.S3S
500136010100.S3S
500022010300.S3S
500007011000.S3S
500008011000.S3S
500019011200.S3S
500008011000.S3S
500009011000.S3S
500012011000.S3S
500014011000.S3S
500028011201.S3S
500135010100.S3S
500143010002.S3S
500142010100.S3S
500144010100.S3S
500006011000.S3S
500007011000.S3S
500008011000.S3S
500009011000.S3S
500010011000.S3S
500011011000.S3S
500012011000.S3S
500014011000.S3S
500016011000.S3S
500134010100.S3S
500028011201.S3S
500129010200.S3S
500072010400.S3S
500135010100.S3S
500143010002.S3S
Thanks so much again for all your kind replies
William
So glad to be in this group and got some replies from you regarding this topic
"have a list of folder containing one file for each folder, need to find this file path in another folder/subfolder"
Now I had a solution for it but I need to trim off all the ==> for each line in one txt file as below:
==> 500007011000.S3S
==> 500011011000.S3S
==> 500016011000.S3S
==> 500072010400.S3S
==> 500136010100.S3S
==> 500022010300.S3S
==> 500007011000.S3S
==> 500008011000.S3S
==> 500019011200.S3S
==> 500008011000.S3S
==> 500009011000.S3S
==> 500012011000.S3S
==> 500014011000.S3S
==> 500028011201.S3S
==> 500135010100.S3S
==> 500143010002.S3S
==> 500142010100.S3S
==> 500144010100.S3S
==> 500006011000.S3S
==> 500007011000.S3S
==> 500008011000.S3S
==> 500009011000.S3S
==> 500010011000.S3S
==> 500011011000.S3S
==> 500012011000.S3S
==> 500014011000.S3S
==> 500016011000.S3S
==> 500134010100.S3S
==> 500028011201.S3S
==> 500129010200.S3S
==> 500072010400.S3S
==> 500135010100.S3S
==> 500143010002.S3S
I need to be as this in new txt file
500007011000.S3S
500011011000.S3S
500016011000.S3S
500072010400.S3S
500136010100.S3S
500022010300.S3S
500007011000.S3S
500008011000.S3S
500019011200.S3S
500008011000.S3S
500009011000.S3S
500012011000.S3S
500014011000.S3S
500028011201.S3S
500135010100.S3S
500143010002.S3S
500142010100.S3S
500144010100.S3S
500006011000.S3S
500007011000.S3S
500008011000.S3S
500009011000.S3S
500010011000.S3S
500011011000.S3S
500012011000.S3S
500014011000.S3S
500016011000.S3S
500134010100.S3S
500028011201.S3S
500129010200.S3S
500072010400.S3S
500135010100.S3S
500143010002.S3S
Thanks so much again for all your kind replies
William