#!/bin/bash
file=debian.deb
test=basename $file .deb
DP="blah/blah/$test/$test.php"
read -p "[$DP]: " DPREPLY
DPREPLY=${DPREPLY:-$DP}
echo "Blah is set to $DPREPLY"
echo $DPREPLY>>testfile
तो मैं जो करने की कोशिश कर रहा हूं वह परिवर्तनीय फ़ाइल से परिवर्तनीय परीक्षण सेट करता है और इसे फ़ाइल testfile में उपयोग करता है।मैं बेसनेम को एक चर में कैसे डालूं?
धन्यवाद जो आपने काम किया! – Intecpsp