Chapter 10. Processing text, files, and XML
Where is human nature so weak as in the bookstore? | ||
--Henry Ward Beecher |
Outside of a dog, a book is man’s best friend. Inside of a dog, it’s too dark to read. | ||
--Groucho Marx |
One of the most common applications for scripting languages is processing text and text files. In this chapter, we’re going to cover PowerShell’s features for this kind of processing. We’ll revisit regular expressions and take another look at the language features and cmdlets that are provided for dealing with text. This chapter also covers the features that PowerShell offers for dealing with a special kind of text—XML—as strings and in ...
Get Windows PowerShell in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.