
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
پردازش متن و تطبیق الگو، به زبانی ساده
ویژگیهای کلیدی
- مسلط شدن بر سریعترین و زیباترین زبان آمادهسازی و پردازش دادههای حجیم
- پیادهسازی پردازش متن و تطبیق الگو با قابلیتهای پیشرفته AWK و GAWK
- پیادهسازی اشکالزدایی و ارتباط بینفرآیندی با GAWK
توضیح کتاب
AWK یکی از ابتداییترین و قدرتمندترین ابزارهایی است که در همه توزیعهای یونیکس و شبهیونیکس وجود دارد. وقتی کار سادهای روی متن دارید، از آن بهعنوان ابزاری خطفرمانی استفاده میکنید؛ و وقتی کار پیچیده پردازش و کاوش متن پیش میآید، مثل یک زبان برنامهنویسی به کارتان میآید. با این کتاب مهارت لازم را پیدا میکنید تا برنامهنویسی پیشرفته AWK را روی مثالهای واقعی تمرین کنید. کتاب با معرفی مبانی ضروری AWK شروع میشود. سپس با عبارات منظم، متغیرها و ثوابت AWK، آرایهها، توابع AWK و موارد بیشتر آشنا میشوید. در ادامه به کارهای پیچیدهتر میپردازد؛ از جمله چاپ خروجی قالببندیشده در AWK، دستورات کنترل جریان، و پیادهسازی گنو از AWK که قابلیتهای پیشرفتهای مثل ارتباط شبکه، اشکالزدایی و ارتباط بینفرآیندی در زبان برنامهنویسی GAWK را پوشش میدهد؛ کارهایی که با AWK معمولی بهسادگی ممکن نیست. در پایان کتاب، خواننده روی پیادهسازی عملی پردازش متن و تطبیق الگو با AWK برای انجام کارهای روزمره کار کرده است.
آنچه یاد میگیرید
- ساخت و استفاده از عبارتها و دستورات کنترل جریان مختلف در AWK
- استفاده از عبارات منظم با AWK برای پردازش مؤثر متن
- استفاده از متغیرهای داخلی و تعریفشده توسط کاربر برای نوشتن برنامههای AWK
- استفاده از تغییرمسیرها در برنامههای AWK و ساخت گزارشهای ساختیافته
- کار با ورودی غیردهدهی و ارتباط دوطرفه بینفرآیندی با Gawk
- ساخت اسکریپتهای کوچک برای قالببندی دوباره داده مطابق الگوها و پردازش متن
این کتاب برای چه کسانی است
این کتاب برای توسعهدهندگان یا تحلیلگرانی است که میخواهند پردازش متن و استخراج داده را در محیطی شبیه یونیکس یاد بگیرند. آشنایی پایه با سیستمعامل لینوکس و اسکریپتنویسی شِل کمک میکند بیشترین بهره را از کتاب ببرید.
Text processing and pattern matching simplifiedKey Features-Master the fastest and most elegant big data munging language-Implement text processing and pattern matching using the advanced features of AWK and GAWK-Implement debugging and inter-process communication using GAWKBook DescriptionAWK is one of the most primitive and powerful utilities which exists in all Unix and Unix-like distributions. It is used as a command-line utility when performing a basic text-processing operation, and as programming language when dealing with complex text-processing and mining tasks. With this book, you will have the required expertise to practice advanced AWK programming in real-life examples. The book starts off with an introduction to AWK essentials. You will then be introduced to regular expressions, AWK variables and constants, arrays and AWK functions and more. The book then delves deeper into more complex tasks, such as printing formatted output in AWK, control flow statements, GNU's implementation of AWK covering the advanced features of GNU AWK, such as network communication, debugging, and inter-process communication in the GAWK programming language which is not easily possible with AWK. By the end of this book, the reader will have worked on the practical implementation of text processing and pattern matching using AWK to perform routine tasks. What you will learn-Create and use different expressions and control flow statements in AWK-Use Regular Expressions with AWK for effective text-processing-Use built-in and user-defined variables to write AWK programs-Use redirections in AWK programs and create structured reports-Handle non-decimal input, 2-way inter-process communication with Gawk-Create small scripts to reformat data to match patterns and process textsWho this book is forThis book is for developers or analysts who are inclined to learn how to do text processing and data extraction in a Unix-like environment. Basic understanding of Linux operating system and shell scripting will help you to get the most out of the book.