Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by AnrDaemon

  1. A

    Split PATH into parts?

    It is standard POSIX. And POSIX is quite common nowadays. Cygwin, Git, WSL… Name your few.
  2. A

    @CHAR and @UNICODE

    Fonts support code points, code pairs is a way to represent a code point. And is not relevant to font per se.
  3. A

    Have WHICH say how it located an external program ...

    It definitely does. [C:\Users\anrdaemon]$ tcc /c which brain brain is an external : C:\Programs\PersonalBrain2\brain.exe [C:\Users\anrdaemon]$ set path | tr ; \n | grep -i brain <nothing>
  4. A

    Split PATH into parts?

    echo %PATH% | tr ; \n
  5. A

    Ctrl-Y and Ctrl-C?

    Ctrl+Y was "cut line" or "erase line" in different editors at the time. I use it as the latter in my editors.
  6. A

    Octave doesn't get along with TCC?

    START "title" "X:\path\to\object" Do NOT skip the "title" part. Else START may confuse object to title and the results would be far from desired.
  7. A

    Discrepancy in versions with Windows 11

    If you recall, same was true for Windows 7 (Ver 6.2).
  8. A

    Request: @STRIP_ANSI[] function

    sed -e 's/\x1b\[[0-9;]*[a-z]//ig;' And sed itself is extremely common these days.
  9. A

    Updating Cygwin

    It's actually quite easy to find out, if you have installed it from repo. sed -Ee '/ 1$/s/^([^[:space:]]+) [^[:space:]]+?(\.tar[^[:space:]]+ 1)$/\1 \1-0\2/; t; d;' < /etc/setup/installed.db Configuration could be copied over, no issues.
  10. A

    Updating Cygwin

    I suggest starting from What does rebaseall in Cygwin do? for a brief overview and reading Highlights of Cygwin Functionality for in-depth explanation.
  11. A

    Updating Cygwin

    I strongly suggest reading something about Cygwin implementation of POSIX fork() specification. I mean, before writing such emotional comments.
  12. A

    How to? Recursivly delete empty folders

    It's not an option. rmdir first tries to remove the object, and only if it fails - recurse. And if Cygwin is your daily tool, it's more likely that you use itself over TCC for scripting a task. If I write a batch job, I use either Cygwin or TCC, only mixing both, if a task is either cross-domain...
  13. A

    Detect Windows Terminal

    I think before trying to detect windows terminal it needs to be stated, WHY do you want to do that?
  14. A

    tcc /c {cmd} - how to get the value of cmd in TCEXIT

    Very, very, VERY bad idea. The moment your background script permanently blocks on some error message you get your system filled with dead sessions to complete denial of service. Use logging instead. TCC has all the facility for that.
  15. A

    Updating Cygwin

    Which has a good chance of destroying your installation, since base addresses of the copied binaries could be wildly different.
Back
Top