« first day (2053 days earlier)      last day (2894 days later) » 

12:05 AM
i fount the solution. It was a miracle.. for a noob!
 
12:35 AM
If you haven't used up your votes today and would like to spend one on a completely undeserving answer so that I can add a fake internet trophy to my digital collection, I'm only (!) two votes away from a "Good Answer" badge for: unix.stackexchange.com/a/284640/117549 ... and thank you for your support (tm)
23
A: Why is the wild card character * so different between commands zip and rm?

Jeff SchallerYou've explained the situation very well. The final piece to the puzzle is that unzip can handle wildcards itself: http://www.info-zip.org/mans/unzip.html ARGUMENTS file[.zip] ... Wildcard expressions are similar to those supported in commonly used Unix shells (sh, ksh, csh) a...

And now I can say I learned how to one-box a link! Thanks, Wildcard!
and thank you, HNQ and Twitter for the wild ride on such an innocent answer.
 
 
9 hours later…
9:55 AM
hi all
 
10:09 AM
#!/bin/sh
if command -v "cygpath" > /dev/null; then
  ATOMCMD=""$(cygpath "$(dirname "$0")" -a -w)\\atom.cmd""
else
  pushd "$(dirname "$0")" > /dev/null
  ATOMCMD=""$(pwd -W)/atom.cmd""
  popd > /dev/null
fi
cmd.exe /C "$ATOMCMD" "$@"
how does the if statement evaluate to a true/false ?
is it capturing the return value of the operation?
 
10:31 AM
@deostroll yes; the $? return/exit code; not any output (stdout/stderr)
 

« first day (2053 days earlier)      last day (2894 days later) »