Search Results

Search: Posts Made By: rplae
4,756
Posted By rplae
Wow! Thank you for your reply! I will try that...
Wow! Thank you for your reply! I will try that as soon as I get home tonight :)

---------- Post updated at 07:25 PM ---------- Previous update was at 02:48 PM ----------

Don Cragun!

I thank...
4,756
Posted By rplae
Bash - How to do a "read -p" inside a while loop?
Hi there guys!

I was trying to do:


while read line; do
if [ $cont -eq 5 ]; then
read -p "Press Enter to continue..."
cont=0
fi

echo $line

let cont++

done < file.txt...
Showing results 1 to 2 of 2

 

Featured Tech Videos

All times are GMT -4. The time now is 10:42 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy