Like goshaf, I couldn't get this to work: { echo -n 'user = "'; cat password.txt; echo '"'; }
I found a (simpler?) alternative, which works as long as you're using bash:
curl -u $(< password.txt) https://googles
Like goshaf, I couldn't get this to work:
{ echo -n 'user = "'; cat password.txt; echo '"'; }
I found a (simpler?) alternative, which works as long as you're using bash:
curl -u $(< password.txt) https://googles