• Skip to main content
  • Skip to after header navigation
  • Skip to site footer

Free-Mail

  • Events
  • Images
    • Instagram Goodness
  • Music
  • News
  • Software

Parse

Parse arguments with Lua

Parse arguments with Lua: Parse arguments with Lua Seth Kenlon Tue, 11/29/2022 – 03:00 Most computer commands consist of two parts: The command and arguments. The command is the program meant to be executed, while the arguments might be command options or user input. Without this structure, a user would have to edit the command’s …

Read moreParse arguments with Lua

Parse command-line options in Groovy

Parse command-line options in Groovy: A recent article provided an introduction to parsing command-line options in Java. Because I really like Groovy, and because Groovy is well suited for scripting, and because it’s fun to compare Java and Groovy solutions, I decided to paraphrase Seth’s article, but using Groovy. read more: Opensource.com clhermansen Supporting Open …

Read moreParse command-line options in Groovy

Parse command-line arguments with argparse in Python

Parse command-line arguments with argparse in Python: There are several third-party libraries for command-line argument parsing, but the standard library module argparse is no slouch either. Without adding any more dependencies, you can write a nifty command-line tool with useful argument parsing. Argument parsing in Python When parsing command-line arguments with argparse, the first step is …

Read moreParse command-line arguments with argparse in Python

Parse command options in Java with commons-cli

Parse command options in Java with commons-cli: When you enter a command into your terminal, whether it’s to launch a GUI app or just a terminal app, there are often options (sometimes called switches or flags) you can use to modify how the application runs. This is a standard set by the POSIX specification, so …

Read moreParse command options in Java with commons-cli

Use XMLStarlet to parse XML in your the Linux terminal

Use XMLStarlet to parse XML in your the Linux terminal: Learning to parse XML is often considered a complex venture, but it doesn’t have to be. XML is highly and strictly structured, so it’s relatively predictable. There are also lots of tools out there to help make the job manageable. read more: Opensource.com sethkenlon Supporting …

Read moreUse XMLStarlet to parse XML in your the Linux terminal

Parse JSON configuration files with Groovy

Parse JSON configuration files with Groovy: Applications typically include some type of default or “out-of-the-box” state or configuration, as well as some way for users to customize that configuration for their needs. read more: Opensource.com clhermansen Supporting Open Source. Have you tried: Visiting Port Elizabeth?

Read moreParse JSON configuration files with Groovy

How to parse Bash program configuration files

How to parse Bash program configuration files: Keeping program configurations separate from code is important. It enables non-programmers to alter configurations without having to modify the program’s code. With compiled binary executables, that would be impossible for non-programmers because it not only requires access to source files (which we do have with open source programs) …

Read moreHow to parse Bash program configuration files

Use Python to parse configuration files

Use Python to parse configuration files: Sometimes, a program needs enough parameters that putting them all as command-line arguments or environment variables is not pleasant nor feasible. In those cases, you will want to use a configuration file. read more: Opensource.com Moshe Zadka Supporting Open Source. Have you tried: Travelling to South Africa?

Read moreUse Python to parse configuration files

Parse arguments with Python

Parse arguments with Python: If you’re using Python for any amount of development, you have probably issued a command in a terminal, even if only to launch a Python script or install a Python module with pip. Commands may be simple and singular: $ ls Commands also might take an argument: read more: Opensource.com sethkenlon …

Read moreParse arguments with Python

Reach Trust

Reach Trust is a holding trust for a number of companies within the Stratlec Group.

Copyright © 2026 · Free-Mail · All Rights Reserved · Powered by Straton Electrical

Back to top