Re: Strange issue using curl
RobbH <RobbH.ai20bz-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Tue, 29 Mar 2022 15:05:31 +0000
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
Paul Webster wrote: > Isn't that what the first & is doing? pointy56 wrote: > In most shells '&> file' redirects both stdout and stderr to file - with > some (older) shells it will be processed as '&' (send to background) and > '> file' (redirect stdout to file) - score -1 for consistency :( I should have said "&> /dev/null just means that any output that the command produces AND ANY ERROR MESSAGES will be discarded instead of cluttering the display." But as pointy56 has indicated, it depends on whether you're using a current version of bash or some cut-down or older shell. LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players, occasionally with SB Radio, Boom or Classic. ------------------------------------------------------------------------ RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008 View this thread: http://forums.slimdevices.com/showthread.php?t=115932