Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    \$\begingroup\$ @DigitalTrauma You are the bash master! \$\endgroup\$ Commented Feb 3, 2016 at 1:04
  • \$\begingroup\$ Can you save bytes by replacing the sed and grep with read? \$\endgroup\$ Commented Feb 3, 2016 at 7:09
  • \$\begingroup\$ Shouldn't it be drutil tray eject? \$\endgroup\$ Commented Feb 3, 2016 at 7:48
  • \$\begingroup\$ @VoteToClose drutil eject is a synonym for drutil tray open. It works as expected. ;) \$\endgroup\$ Commented Feb 3, 2016 at 15:38
  • 1
    \$\begingroup\$ @CousinCocaine I was using read in a previous revision, but then I'd need an equality check, which makes it longer overall. You can take a look at the revision history to see what I mean. \$\endgroup\$ Commented Feb 3, 2016 at 15:40