Search Results

Search: Posts Made By: JohnnyM77
1,363
Posted By JohnnyM77
Solved
Thanks a lot! :) The documentation pretty much sucks when it says ${string/pattern/replacement} , but only pattern and replacement can have dollar signs even though all three are variables :wall:
1,363
Posted By JohnnyM77
Bash script - coloring reg. expressions in text
Hi all,
is there anyone good at bash who will help me?

I need to use syntax ${string/pattern/replacement}
The problematic part where I am stuck is:


#!bin/bash
text="A cat is on a mat."...
Showing results 1 to 2 of 2

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