I want to programmatically replace little placeholder with static content like the user name or working path.
Is there a possibility in bash that I can dynamically execute my perl replacement state like:
GROUPNAME="$(id -g -n $USER)"
perl -pi -e 's/\(PLACEHOLDER\)/' + "$GROUPNAME" + '/g' filepath/file
it would be the enormously good if I could also adapt this dynamical behaviour for the placeholder. But first things first. How do I concatenate these strings?