Return to Snippet

Revision: 20054
at November 5, 2009 11:05 by xxtjaxx


Initial Code
#! /bin/bash
URL=$(echo $@ | sed 's:\ :\n:g' | grep "url" | sed 's:\-\-url=::')

Initial URL


Initial Description
This one can also be used together with an if-statement.

Initial Title
find commandline options using sed and grep

Initial Tags


Initial Language
Bash