Added tags

This commit is contained in:
Brandon Rozek 2020-02-16 17:46:18 -05:00
parent bca1f711a5
commit aa4280542b
50 changed files with 67 additions and 48 deletions

View file

@ -2,6 +2,7 @@
title: "Bash Flags"
date: 2019-08-06T16:55:47-04:00
draft: false
tags: [ "linux", "bash" ]
---
I was creating a bash script and was looking around for a solution for parsing command line arguments. [This StackOverflow post](https://stackoverflow.com/questions/192249/how-do-i-parse-command-line-arguments-in-bash) has a variety of different solutions available. I want to describe my favorite of these posts.
@ -29,4 +30,4 @@ Let me quickly describe what it does. While the number of arguments left to proc
- If it doesn't. Error out.
- Then get rid of an argument.
At the end of the while loop, you would've evaluated all the arguments!
At the end of the while loop, you would've evaluated all the arguments!