I have a text file with hundreds of lines. I need something to automatically turn each of those lines into a new and separate text file. I'm on Windows.
>>51900878
install gentoo
>>51900878
>I have a text file with hundreds of lines. I need something to automatically turn each of those lines into a new and separate text file.
Easy peasy:split -l 1 file.txt
>I'm on Windows.
Oh. Maybe you can use the trial edition of LineSplitter FX Pro 2015 for free on several files under 100 lines, or you can buy the full version for $12.99
>>51900927
>google "LineSplitter"
>there is an open source program called GSplit
>it does what I need
Thanks!
>>51900927
>>Oh. Maybe you can use the trial edition of LineSplitter FX Pro 2015 for free on several files under 100 lines, or you can buy the full version for $12.99
>being this butthurt
>what is powershell
>>51900927
>implying powershell doesn't have its own string split function
>>51901043
Yeah, and it's probably as simple as creating a new String object and using some sort of FileReader.Read() to initialize it, passing it to the SplitFactory object and create one FileWriter per output.
>powershell
>>51900927
couldn't he use cygwin?
>>51901129
The point is anyone that would want to do this on a command line could do it easily in either shell
>>51900927
This is above the usual wit on 4chan, whether I'm a winfag or not
>>51901129
>everything is java
>>51901264
PowerShell is almost as verbose as Java, though.