sed 's/the font/courier new/g' <input.txt >output.txt
Or...
Open your text editor, find the preferences, find the part of the preferences that has to do with fonts and change it. Quite simple and painless really. You can even change the size.
The two editors I have access to right now:
Notepad...
Try
awk "/Availability|Reboots/,/Bluescreens/" file.txt
The trick is the quoting - Windows doesn't understand ''.
The reason you get that error message is that | is used for redirecting output from one command to another, so what Windows sees is:
Run "awk '/Availability" and send result to...
Columb:
Actually awk is readily available, in the form of gawk, from GnuWin32, as is most of the GNU tools. Get it here. And there's always Cygwin.
As for the Windows tools being pathetic. Well, they aren't exactly great but certainly good enough for this task, and both awk and perl would...
http://sed.sourceforge.net/ and http://groups.yahoo.com/group/sed-users/
is probably all you'll ever need when it comes to Sed. The Yahoo mailing list is populated by some very friendly people, that seems to be spending way too much time using Sed, and I believe I've even seen a GNU dev post there.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.