dannybuntu on Nostr: Bash tidbits: if [ -z "$string" ]; then echo "The string is empty." fi
Bash tidbits:
if [ -z "$string" ]; then
echo "The string is empty."
fi
Published at
2024-08-28 04:39:31Event JSON
{
"id": "bf61acd9d2c682981efbc805a3fc7bf0de684ea9c22cef91cd05927cf4497b1a",
"pubkey": "1f9e547c2f31942623b8ad1d07713282e8640fd8cf474e9f79f18ace8af216ed",
"created_at": 1724819971,
"kind": 1,
"tags": [],
"content": "Bash tidbits: \n\nif [ -z \"$string\" ]; then\n echo \"The string is empty.\"\nfi\n",
"sig": "f6d0548963ed396dbc8f126ecbe44296e1e8df6c23c217b7397be15bda546b7563d02d70bdec219565c5f278ad906312a7484fe6d9ee8cf51e4ca9629a1e9e18"
}