Date: Sun, 18 Jan 2004 23:06:43 +1030 From: "Rob" <listone@deathbeforedecaf.net> To: <ecrist@adtechintegrated.com>, <freebsd-questions@freebsd.org> Subject: Re: Text parsing? Message-ID: <000601c3ddbf$bbbbb980$a4b826cb@goo> References: <200401172159.37521.ecrist@adtechintegrated.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Eric F Crist asked on Sun Jan 18, 2004: > For what purposes will I find I need to use all these tools you write about? > I'm talking about awk, ed, ex, etc. I haven't found the need to do so, yet, > but I'd like to possibly learn this stuff before I really do need it. Logfiles and config files are usually text, and a standard set of text processing tools exist. This leads to the Unix tradition of sticking little things together. For example, I'm doing a 'make release' - there's a lot of repeated output, so it's hard to see how far it's gone if it crashes. So to save the output, I run it under the script(1) command. Then on another tty, I run tail -f /var/tmp/script | grep '^[>+]' which shows the main headings of the build process. After a while, many admin tasks start to look like text processing problems.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000601c3ddbf$bbbbb980$a4b826cb>