Journal of
Advances in Shell Programming ( JoASP)
Jan - April 2014
STM JOURNALS Scientific
Technical
Medical
www.stmjournals.com
STM Publication(s) STM Publication, a strong initiative by Consortium E-Learning Network Private ltd.(Estd. 2006) was launched in the year 2010 under the support and guidance by our esteemed Editorial and Advisory board members from renowned institutes. Objectives of STM Publication(s): †
Scientific, Technical and Medical research promotions.
†
Publication of genuine Research/Review, Short Articles and Case Studies through proper review process.
†
Publishing Special Issues on Conferences.
†
Preparing online platform for other print Journals.
†
Empowering the libraries with online and print Journals in Scientific, Technical and Medical domains.
†
Publishing and distribution of books on various subjects which mainly falls in the category of Nanotechnology, Scientific and technical writing & Environment, Health and Safety.
Salient Features: †
A bouquet of 100+ Journals that fall under Science, Technical & Medical domains.
†
Employs Open Journals System (OJS) A Journal Management & Publishing System.
†
The first and one of the fastest growing publication website in India as well as in abroad for its quality and coverage.
†
Rapid online submission and publication of papers, soon after their formal acceptance/ finalization.
†
Facilitates linking with the other authors or professionals.
†
Worldwide circulation and visibility.
Journal of Advances in Shell Programming Focus and Scope Covers † Shell commands & simple programming † Overview of TCP/ IP networking - basic concept of 4 layers † Overview of the UNIX/ LINUX † Simple filters grip command † Linux Administrators †
UNIX programmers
† Database (Oracle/Sybase)developers working on UNIX platforms Journal of Advances in Shell Programming is published (frequency: three times a year) in India by STM Journals (division of Consortium e-Learning Network Private Ltd. Pvt.) The views expressed in the articles do not necessarily reflect of the Publisher. The publisher does not endorse the quality or value of the advertised/sponsored products described therein. Please consult full prescribing information before issuing a prescription for any products mentioned in this publication. No part of this publication may be reproduced, stored in retrieval system or transmitted in any from without written permission of the publisher. To cite any of the material contained in this Journal, in English or translation, please use the full English reference at the beginning of each article. To reuse any of the material, please contact STM Journals (info@stmjournals.com)
STM Journals (division of Consortium e-Learning Network Private Ltd. ) having its Marketing office located at Office No. 4, First Floor, CSC pocket E Market, Mayur Vihar Phase II, New Delhi-110091, India is the Publisher of Journal. Statements and opinions expressed in the Journal reflect the views of the author(s) and are not the opinion of STM Journals unless so stated. Subscription Information and Order: Cost of Journal: — National Subscription: Rs. 3750/- per Journal (includes 3 print issues), Single Issue copy purchase Rs.1500/copy — International Subscription: — Online Only- $99, Print Only-$149 (includes 3 print issues) — Online + Print-$199 (includes 3 print issues + online access of published back volumes )
To purchase print compilation of back issues please send your query at info@stmjournals.com Subscription must be prepaid. Rates outside the India includes speed delivery charges. Prices subject to change without notice. Mode of Payment: At par cheque, Demand draft, and RTGS (payment to be made in favor of Consortium E-Learning Network. Pvt. ltd., payable at Delhi/New Delhi. Online Access Policy A). For Authors: In order to provide maximum citation and wide publicity to the authors work, STM Journals also have Open Access Policy, authors who would like to get their work open access can opt for Optional Open Access publication at nominal cost as follows India, SARC and African Countries: INR 2500 or 100 USD including single hard copy of Author's Journal. Other Countries: USD 200 including single hard copy of Author's Journal. B.) For Subscribers: — Online access will be activated within 72 hours of receipt of the payment (working days), subject to receipt of
correct information on user details/Static IP address of the subscriber. — The access will be blocked: — If the user requests for the same and furnishes valid reasons for blocking. — Due to technical issue. — Misuse of the access rights as per the access policy.
Advertising and Commercial Reprint Inquiries: STM Journals with wide circulation and visibility offer an excellent media for showcasing/promotion of your products/services and the events-namely, Conferences, Symposia/Seminars etc. These journals have very high potential to deliver the message across the targeted audience regularly with each published issue. The advertisements on bulk subscriptions, gift subscriptions or reprint purchases for distribution etc. are also very welcome. Lost Issue Claims: Please note the following when applying for lost or missing issues: — Claims for print copies lost will be honored only after 45 days of the dispatch date and before publication of the
next issue as per the frequency. — Tracking id for the speed post will be provided to all our subscribers and the claims for the missing Journals will
be entertained only with the proofs which will be verified at both the ends. — Claims filed due to insufficient (or no notice) of change of address will not be honored. — Change of Address of Dispatch should be intimated to STM Journals at least 2 months prior to the dispatch
schedule as per the frequency by mentioning subscriber id and the subscription id. — Refund requests will not be entertained.
Legal Disputes All the legal disputes are subjected to Delhi Jurisdiction only. If you have any questions, please contact the Publication Management Team: info@stmjournals.com; Tel : +91 0120-4781211.
Publication Management Team Chairman Mr. Puneet Mehrotra Managing Director STM Journals, Consortium eLearning Network Pvt. Ltd.(CELNET) Noida ,India
Group Managing Editor Dr. Archana Mehrotra Director CELNET, Delhi, India
Internal Members Puneet Pandeya Manager Associate Editors Gargi Asha Jha Nupur Anand
Monika Malhotra Assistant Manager Assistant Editors Priyanka Aswal Aditya Sanyal Sona Chahal Himani Garg Himani Pandey
External Members
Dr. Bimlesh Lochab Industrial Tribology Machine Dynamics & Maintenance Engineering Centre (ITMMEC) Indian Institute of Technology Delhi, India.
Dr. Rajiv Prakash School of Materials Science and Technology, Institute of Technology, Banaras Hindu University, Varanasi, India.
Prof. S. Ramaprabhu Alternative Energy Technology Laboratory, Department of Physics, Indian Institute of Technology, Chennai, India.
Dr. Rakesh Kumar Assistant Professor, Department of Applied Chemistry, BIT Mesra, Patna, India.
STM Journal (s) Advisory Board
Dr. Ashish Runthala
Prof. Bankim Chandra Ray
Lecturer, Biological Sciences Group, Birla Institute of Technology & Science, Pilani Rajasthan, India.
Professor and Head, Department of Metallurgical and Materials Engineering National Institute of Technology, Rourkela, India.
Dr. Baldev Raj
Prof.D. N. Rao
Distinguished Scientist & Director, Indira Gandhi Centre for Atomic Research (ICGAR)Kalpakkam, India.
Professor, Department of Biochemistry, AIIMS, New Delhi, India.
Dr. Baskar Kaliyamoorthy Associate Professor, Department of Civil Engineering National Institute of Technology Trichy, India.
Prof. Jugal Kishore Professor, Department of Community Medicine, Maulana Azad Medical College, New Delhi, India.
Dr. Hardev Singh Virk Professor Emeritus, Eternal University, Baru Sahib, India.
Dr. Pankaj Poddar Scientist, Physical & Materials Chemistry Division, National Chemical Laboratory, Pune, India.
Dr. Nandini Chatterjee Singh Associate Professor, National Brain Research Centre, Manesar, India.
STM Journal (s) Advisory Board
Dr. Priyavrat Thareja
Dr. Rakesh Kumar
Head, Materials and Metallurgical Engineering department, PEC University of Technology, Chandigarh, India.
Assistant Professor, Department of Applied Chemistry, BIT Mesra, Patna, India.
Dr. Shankargouda Patil
Dr. Shrikant Balkisan Dhoot
Asst. Prof., Department of Oral Pathology, KLE Society's Institute of Dental Sciences, Bangalore, India.
Head Research & Development, Nurture Earth R&D Pvt Ltd MIT Campus, Beed bypass road, Aurangabad, India.
Prof. Subash Chandra Mishra
Prof. Sundara Ramaprabhu
Professor, Metallurgical & Materials Engineering Department, NIT, Rourkela, India.
Professor, Department of Physics Indian Institute of Technology Madras, India.
Prof. Yuwaraj Marotrao Ghugal Professor and Head Department, Govt. College of Engineering Station Road, Osmanpura, Aurangabad, India.
Editorial Board
Dr. Mansaf Alam Asstt. Professor Department of Computer Science, Faculty of Natural Sciences Jamia Millia Islamia New Delhi-110025, India.
Prof. Aziz Belmiloudi Senior Associate Professor Member of the Executive Committee of the Institute IRMAR Rennes Cedex - France.
Prof. Chris Cannings Professor, School of Mathematics and Statistics, University of Sheffield United Kingdom.
Dr. V. K. Govindan Professor in Computer science and engineering and Dean Academic National Institute of Technology Calicut, Kerala India.
Prof. Ismet Karaca Professor at Ege University Department of Mathematics,Bornova, IZMIR, Turkey.
Dr. Gaurav Kumar Founder, Managing Director Magma Research and Consultancy Pvt. Ltd. Ambala Cantt., Haryana, India.
Prof. Hari M. Srivastava Department of Mathematics and Statistics University of Victoria Victoria, British Columbia, Canada.
Director's Desk
STM JOURNALS
I take the privilege to present the print version for the Volume 1 Issue (1) of Journal of Advances in Shell Programming. The intension of JoASP is to create an atmosphere that stimulates creativeness, research and growth in the area of Shell Programming. The development and growth of the mankind is the consequence of brilliant Research done by eminent Scientists and Engineers in every field. JoASP provides an outlet for Research findings and reviews in areas of Shell Programming found to be relevant for National and International recent developments & research initiative. The aim and scope of the Journal is to provide an academic medium and an important reference for the advancement and dissemination of Research results that support high level learning, teaching and research in the domain of Shell Programming. Finally, I express my sincere gratitude and thanks to our Editorial/ Reviewer board and Authors for their continued support and invaluable contributions and suggestions in the form of authoring write ups/ reviewing and providing constructive comments for the advancement of the journals. With regards to their due continuous support and co-operation, we have been able to publish quality Research/Reviews findings for our customers base. I hope you will enjoy reading this issue and we welcome your feedback on any aspect of the Journal.
Dr. Archana Mehrotra Director STM Journals
Journal of Advances in Shell Programming
Contents
1. An Approach to Design a Compiler in Context of Lexical Analyzer (Scanner) and Parser Generation (Parser) Followed by Non-optimized Intermediate Code Generation using Compiler Construction Tools Partha Ghosh
1
2. An Implementation of Extracting Data and Mining Extracted Data from Web Pages Dhanashri Sandbhor, Archana Jadhav, Govind Kumar Dubey, Sonali Pawade, Rupesh Dhole
9
3. Open Flow Network Visualization Software Vikas Bandaru, K. Nikitha1, B. Amrutha Rao
13
Journal of Advances in Shell Programming Volume 1, Issue 1 www.stmjournals.com
An Approach to Design a Compiler in Context of Lexical Analyzer (Scanner) and Parser Generation (Parser) Followed by Non-optimized Intermediate Code Generation using Compiler Construction Tools Partha Ghosh* Department of Computer Science & Engineering, Govt. College of Engineering & Ceramic Technology, Kolkata, India
Abstract It is very tedious and lengthy task to write a compiler. To realize the various phases of compilers we can use some specific tools. These tools are called compiler construction tools. Furthermore, we call it as compiler-compiler, compiler-generators, or translator writing system. A mixture of compiler building tools are Scanner generator —it generates lexical analyzers. The patterns specified to these generators are in the type of regular expressions. The LINUX has utility for a scanner generator called LEX. The specification given to the LEX consists of regular expressions for representing various tokens. Parser generators — these produce the syntax analyzer. The specification given to these generators is given in the form of CFG. Typically LINUX has a tool called YACC, which is a parser generator. Syntax-directed translation engines — in this tool the parse tree is scanned fully to generate an intermediate code. The translation is done for each node of the tree. Keywords: Tokens, Lexeme, Lex, AST, Yacc
JoASP (2014)© STM Journals 2014. All Rights Reserved
Journal of Advances in Shell Programming Volume 1, Issue 1 www.stmjournals.com
An Implementation of Extracting Data and Mining Extracted Data from Web Pages Dhanashri Sandbhor*, Archana Jadhav, Govind Kumar Dubey, Sonali Pawade, Rupesh Dhole Information Technology Department, Rajarshi Shahu College of Engineering, Tathawade, Pune-033, Pune University, Maharashtra, India
Abstract Web contains various information of particular object, which could be relevant as well as non-relevant are called as data records. It is necessary to extract relevant information from web pages. Web data extraction is the system which is used for extracting data from various web pages. Data present on web pages are in un-structured format. In the process of data extraction, we convert un-structured data into structured format. This paper contains web data extraction system, stages of making a mashup and the data mining concept for data clustering. Mashup is the process which provides functionality such as data retrieval, data source modeling, data cleaning/filtering, data integration, and data visualization. We use “Xtractorz” system for data extraction and mashup for data records. By using data mining, we analyze data from different sources and using text mining we cluster all the information. And we also use those data for providing value added services Keywords: Web, data, mashup, data clustering
JoASP (2014) © STM Journals 2014. All Rights Reserved
Journal of Advances in Shell Programming Volume 1, Issue 1 www.stmjournals.com
Open Flow Network Visualization Software Vikas Bandaru1*, K. Nikitha1, B. Amrutha Rao2 1
2
GITAM University, Hyderabad, Andhra Pradesh, India Head Computer Networks Division, RCI, Hyderabad, Andhra Pradesh, India
Abstract Traditional IP network infrastructure is merely static, rather than flexible. Due to the advent of Cloud technologies, future networks of machine-to-machine (M2M)/Internet of Things (IoT) and the mobile devices generating Big Data, it has become very difficult for network managers to configure and monitor the everchanging network dynamically. Recently, the concept of Software-Defined Network (SDN), which allows us to administer and configure a network in a centralized and programmable manner, has gathered network engineers’ and researchers’ attention rapidly. OpenFlow has opened the door for network management in a more controlled way. Though OpenFlow controllers provide a lot of raw data collected from the underlying flows, it is still difficult for network managers to do analysis of that Big Data and take better decisions for the network. This research aims to realize a visualization software that facilitates the network managers to analyze the flow data in a more user-friendly way. The proposed tool helps us to visually identify selected flows from all lists of flows (i.e., Flowspace) and to monitor the status of selected flows through application-specific interactive visual representations. Keywords: OpenFlow, software defined network, flow visualization, network management, open daylight
programmable
JoASP (2014) © STM Journals 2014. All Rights Reserved
network,