bash script to test lines-async