LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 09-20-2012, 01:20 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 128,378

Rep: Reputation: 118Reputation: 118
LXer: Parse the options of your bash script like a pro


Published at LXer:

Today i was writing a bash script that should manage some input arguments, and so i studied getopt, this is a convenient and elegant way to manage input parameters in a bash script. With it you can define switch (present or not) or parameters with an option, thus making your simple bash script much more professional. Let’s see how to use this command and its options.

Read More...
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Parse String in a Bash script jimwelc Linux - Newbie 8 11-09-2012 07:47 AM
[SOLVED] how to parse a data file using bash script rjuny Programming 11 08-20-2012 08:09 PM
How to parse strings in bash script crimson08 Linux - Newbie 17 05-11-2009 11:29 AM
Parse XML in bash script MikeyCarter Linux - Software 1 02-16-2007 01:19 PM
bash script help to parse out text slack guy Linux - Newbie 3 12-30-2004 08:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 11:24 AM.

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
Open Source Consulting | Domain Registration