Search Results

Search: Posts Made By: Chubler_XL
92,874
Posted By Chubler_XL
Nice idea Corona668 . I don't have access to...
Nice idea Corona668 .

I don't have access to MacOS, I'm amazed the most recent releases ship with a 12 year old shell (whats going on there). Checking the exit status of read after the stty...
92,874
Posted By Chubler_XL
Since you specify using bash shell we can flush...
Since you specify using bash shell we can flush the input buffer using:

while read -rs -N 1 -t 0.1 2> /dev/null ; do : ; done

so your script would look like this:

#!/bin/bash

for i in 1 2...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 08:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy