23
Kekica
6y

And this is how to read a book in Visual Studio at work so everyone thinks you are in some really fucked up configuration xml.... :))))))) Thanks xmlrant.com and jsrant.com for ideas

Comments
  • 3
    (cat book.txt).Split(".") |
    %{ $_.Split("!") } |
    %{ $_.Split("?") } |
    Convert-ToXml > book.xml
    Or
    ...Convert-ToJson > book.json
    Or
    ...Convert-ToHtml > book.html;(pwd).FullPath | start( "file:" + $_ + "/book.html")
    Some great one liners in Powershell
Add Comment