element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Community Hub
Community Hub
Polls When was the last time you used sed and/or awk?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Community Hub to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: colporteur
  • Date Created: 1 Apr 2021 4:00 PM Date Created
  • Last Updated Last Updated: 11 Oct 2021 3:00 PM
  • Views 1730 views
  • Likes 0 likes
  • Comments 20 comments
Related
Recommended

When was the last time you used sed and/or awk?

I'm thinking of preparing a lecture, for a High School Computer Club, on the command line tools sed and awk for data manipulation. The discussion will include some examples of using the command to mung a data set. I found the commands valuable over my technology career but wonder how relevant are they today?

  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • jomoenginer
    jomoenginer over 5 years ago in reply to jomoenginer +4
    The advantage of using something like 'sed' or 'awk' or other shell type commands is that they are pretty much standard with most Linux type distros. Something like Python has to be installed separately…
  • neilk
    neilk over 5 years ago +3
    Sadly, I've never come across either! Neil
  • shabaz
    shabaz over 5 years ago in reply to neilk +3
    And rarely do they have non-cryptic names. There's something for everyone in Linux, worth playing around with (say) a Pi's command line to explore, but finding all the interesting commands can take a lifetime…
Parents
  • shabaz
    shabaz over 5 years ago

    Had you asked a few weeks ago, I would have said I last used it about 10 years ago. But someone asked me a sed question a few weeks back. I think it's handy having knowledge of such tools, and the underlying regexp is still handy to know too, but today I cannot recall much except say how to identify the beginning of a string, and how to match on a set of characters, etc. But I still have a regexp book somewhere just in case the need crops up.

    Since you mention specifically data manipulation, if a programming language is preferred then there are preferred or popular languages. For that, Python would be among the top few preferences for data manipulation for many I think (and there are more specialized languages too, I'm just picking an all-rounder) - and is encountered in many places, not just on a computer's command line. So today for me that would be my preferred choice if I had a choice, but I wouldn't feel extremely uncomfortable if I had to do one-off manipulation with sed occasionally. Personally I wouldn't use it for running (say) regular jobs, I would prefer a program in say Python, but that's just me, others would have other preferences.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • shabaz
    shabaz over 5 years ago

    Had you asked a few weeks ago, I would have said I last used it about 10 years ago. But someone asked me a sed question a few weeks back. I think it's handy having knowledge of such tools, and the underlying regexp is still handy to know too, but today I cannot recall much except say how to identify the beginning of a string, and how to match on a set of characters, etc. But I still have a regexp book somewhere just in case the need crops up.

    Since you mention specifically data manipulation, if a programming language is preferred then there are preferred or popular languages. For that, Python would be among the top few preferences for data manipulation for many I think (and there are more specialized languages too, I'm just picking an all-rounder) - and is encountered in many places, not just on a computer's command line. So today for me that would be my preferred choice if I had a choice, but I wouldn't feel extremely uncomfortable if I had to do one-off manipulation with sed occasionally. Personally I wouldn't use it for running (say) regular jobs, I would prefer a program in say Python, but that's just me, others would have other preferences.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube