Installer & HAMMER only

Simon 'corecode' Schubert corecode at
Wed Jan 28 13:26:16 PST 2009

Jeremy C. Reed wrote:
On Wed, 28 Jan 2009, FloW wrote:

cd /dev && /bin/echo ad0s4a || /bin/sh MAKEDEV ad0s4a

Shouldn't this be rather

cd /dev && /bin/echo ad0s4a && /bin/sh MAKEDEV ad0s4a
Neither of those make sense to me  as that echo will always return 0.
If this is to check existence why not use test (or ls)?
Unless it really does a cd /dev/ && /bin/echo ad0s4a* and depends on the 
shell to complain when expanding...  but a test(1) would be even better...

  <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
  rock the past  +++  space for low €€€ NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |      Against  HTML   \
Dude 2c 2 the max   !       Mail + News   / \

More information about the Users mailing list