new jersey's governor today signed a bill that bans the 'gay panic' and 'trans panic' defense for homicide cases. i can't fucking believe after the clusterfuck that was chris christie's governorship, i have a governor that's actually doing good things. phil murphy, thank u
I have a bash script In that script I need to * non interactively connect to TCP port localy. * Store the strings that I get as I connect * Compare that string with what I expect the answer to be.
Here is a solution that don't work:
#!/bin/bash VALIDTELNET="parastat vdev" # Test telnet TELNET=$(echo | nc 127.0.0.1 22196) if [[ "$TELNET" == "$VALIDTELNET" ]] then echo "Telnet Ok" ; else echo "Telnet connection test failed" ERROR=22196 fi
--
I've also used telnet, curl, exec 3<>/dev/tcp/127.0.0.1/22196, etc.
I either have the string but it is interactive, or the connection stops, but I don't get the strings.
Note: Why bash, why not X? I only want bash, because this is test script and I don't want to install more stuff during the test run.
RT @subratkumar1756 43 million people, mainly school children formed 16500 km long human chain in my state, Bihar to promote afforestation and water conservation. People of all age came today on streets with full enthusiasm and took part in this historic event. It's the world's longest human chain.
Pour celleux à #Rennes ou pas trop loin, on vient d'ajouter quelques jours supplémentaire pour s'inscrire au forum ouvert du Festival des libertés numériques @FestLibNum du 1er et 2 février.
Ce week-end se remplira des sujets que vous souhaitez aborder autour du thème du festival « comment passer du partage du monde au monde du partage ? »