Australian shares have scraped through to end a four-week losing streak, but investor confidence remains shaky as inflation, interest rates and a challenging earnings environment loom.