LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2015, 08:59 AM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 452

Rep: Reputation: 29
where are text tools normally applied to?


hi guys,

where are things like awk sed grep etc normally applied to..ie where do they work? scripts and configuration files?
 
Old 06-03-2015, 09:39 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,255

Rep: Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686Reputation: 2686
That is a very vague question ... so the answer would be ... where you need them.
 
2 members found this post helpful.
Old 06-03-2015, 09:47 AM   #3
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,133

Rep: Reputation: 2272Reputation: 2272Reputation: 2272Reputation: 2272Reputation: 2272Reputation: 2272Reputation: 2272Reputation: 2272Reputation: 2272Reputation: 2272Reputation: 2272
where you need them. yes.
man awk: pattern scanning and processing language
man grep: print lines matching a pattern
man sed: stream editor for filtering and transforming text
man perl: Practical Extraction and Report Language
 
1 members found this post helpful.
Old 06-03-2015, 02:49 PM   #4
fatmac
Senior Member
 
Registered: Sep 2011
Location: Surrey/Hants Border, UK
Distribution: BSD & Linux - As long as they are Lightweight
Posts: 1,500

Rep: Reputation: Disabled
Some practical uses :-
grep finds words in a file, typical example is to filter dmesg for info.
sed scripts are used to change things like alterations in a manuscript that would take forever using an editor.
awk scripts are used to extract info from formatted text files, sometimes manipulating the data, & making reports.
 
Old 06-04-2015, 05:48 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Re Perl; actually that's a backronym https://en.wikipedia.org/wiki/Perl
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 4 Best Free Linux Plain Text Screencasting Tools LXer Syndicated Linux News 0 07-07-2012 06:40 AM
Generic Mapping Tools (GMT) text help a13x06 Linux - Newbie 1 03-13-2010 12:03 PM
Text Tools - Banner Paean Linux - Newbie 5 12-13-2005 01:51 AM
why text based tools are still using mili Linux - General 31 05-02-2005 06:09 AM
any good text formatting tools? santasballz Linux - Software 12 03-04-2004 09:51 PM


All times are GMT -5. The time now is 03:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration