Re: Text parsing?
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. Such programs are usually used in shell scripts to parse out a part or some parts of a text output either from a text file or an output from a program such as ifconfig for instance. - Jefferson - This mail sent through IMP: http://horde.org/imp/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Text parsing?
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. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Text parsing?
Eric F Crist wrote: Hello group, 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. Depends on what your system is used for- I've used the previously mentioned tools almost daily when working as a sysadmin- for monitoring disk qusage, process CPU usage, parsing output (log and standalone application one-time logs), install logsyou name it. Scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Text parsing?
Hello group, 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. -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 pgp0.pgp Description: signature
Re: Text parsing?
Hello group, 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. -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 Many of us all learn from several books, online articles, and other forms of documentations. For you, perhaps, you should have your own system with an UNIX/Linux operating system to experiment with. If you are going to mess with FreeBSD, you can use http://www.freebsd.org/handbook (a shortcut link to the famed handbook). That would help you to get started into the FreeBSD basics. For your listed commands, the learning documents can be found at http://www.google.com with certain words such as replace sed to discover what the proper usage of sed to replace strings. Also, on your UNIX/Linux systems, you should have manpages to help you. You could simply type in man sed to learn what you could do with sed. Best place to learn more about manpages is by typing in man man :) .::. Chris Haulmark chaulmark -at- idefense.com System Administrator iDefense, Inc. Disclaimer: This post or any type of personal participation that you read from this individual does not represent the views of iDefense, its affiliates, its employees, nor the trashman unless this post is to be stated official. What you read represents my personal opinion(s) or view(s) and is my sole responsibility. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Text parsing?
On Saturday 17 January 2004 10:14 pm, Chris Haulmark wrote: Many of us all learn from several books, online articles, and other forms of documentations. For you, perhaps, you should have your own system with an UNIX/Linux operating system to experiment with. If you are going to mess with FreeBSD, you can use http://www.freebsd.org/handbook (a shortcut link to the famed handbook). That would help you to get started into the FreeBSD basics. For your listed commands, the learning documents can be found at http://www.google.com with certain words such as replace sed to discover what the proper usage of sed to replace strings. Also, on your UNIX/Linux systems, you should have manpages to help you. You could simply type in man sed to learn what you could do with sed. Best place to learn more about manpages is by typing in man man :) Chris, Thanks for your reply. Those are all sources I'm aware of. Also, I've been using FreeBSD since 1998, running different web servers and such. I suppose I should have been a little more specific. What, specifically, do you find you need to use these commands for? What kinds of text files? Log files? I'm not sure. Thanks again for your reply. -- Eric F Crist AdTech Integrated Systems, Inc (612) 998-3588 pgp0.pgp Description: signature