Skip to content

Instantly share code, notes, and snippets.

@Laxman-SM
Created February 13, 2020 10:32
Show Gist options
  • Save Laxman-SM/6dbfe20fd33c5ac0cc745f4281c36d43 to your computer and use it in GitHub Desktop.
Save Laxman-SM/6dbfe20fd33c5ac0cc745f4281c36d43 to your computer and use it in GitHub Desktop.
#!/bin/bash
export uuid=$(uuidgen)
echo "$uuid" >> outfile.txt
#sed -i "s/node.id=$uuid/node.id=$uuid/g" hello.txt
sed -i "s/#node.id=__uuidgen__/node.id=$uuid/g" node.properties
cat ./node.properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment