Search Results

Search: Posts Made By: Eggie01
6,760
Posted By Eggie01
No worries mate! bash --version...
No worries mate!

bash --version 3.1.17(1)-release (x86_64-pc-linux-gnu)
:)
6,760
Posted By Eggie01
Thanks for the response! That has crossed my...
Thanks for the response!

That has crossed my mind as well, but I need to capture the data so it's actually a regular expression find rather than a literal set of parenthesis ( ).

Also, when I...
6,760
Posted By Eggie01
Thanks for you answer mate, I rewrote the script...
Thanks for you answer mate, I rewrote the script to use 'while read line'.

But still, the problem persists. It is in the second regexp, not the first.

if [[ $line =~ *,\'(.*)\'* ]] ; then
...
6,760
Posted By Eggie01
Bash Regexp failing: unexpected token `('
Hey guys,

I'm fairly new to bash scripting, so bear with me :)

What I want to achieve is reading a file (.php), find the phrase 'WACHTWOORD' (password) in it, and collect the password and a...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 01:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy