Extracting Information From Text

Beginner

In this project, you will learn how to extract image URLs from Markdown files using a Bash script. This is a common task when working with technical documentation, as it allows you to quickly identify and retrieve the images used in a document.

ShellLinux

Introduction

In this project, you will learn how to extract image URLs from Markdown files using a Bash script. This is a common task when working with technical documentation, as it allows you to quickly identify and retrieve the images used in a document.

👀 Preview

$ ./getimage.sh labex_lab1.md
https://doc.shiyanlou.com/document-uid13labid292timestamp14677222211211.png
https://doc.shiyanlou.com/document-uid13labid292timestamp14672311234511.png
https://doc.shiyanlou.com/document-uid13labid292timestamp14677029556772.png

🎯 Tasks

In this project, you will learn:

  • How to create a Bash script to extract image URLs from a Markdown file
  • How to make the script executable and run it from the command line
  • How to customize the script to save the extracted URLs to a file

🏆 Achievements

After completing this project, you will be able to:

  • Automate the process of extracting image URLs from Markdown files
  • Incorporate this script into your workflow when working with technical documentation
  • Customize the script to suit your specific needs and requirements

Teacher

labby

Labby

Labby is the LabEx teacher.