Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [msys]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
64 views

tmux scrolling enabling fails in msys2

I recently started using tmux (in addition to screen), both in a Linux environment and in msys2 (which is also new to me and for which I cannot install screen). Very similar to screen, starting tmux ...
Hauke Laging's user avatar
0 votes
0 answers
28 views

Automatically detecting whether a process is running normally by listening to stdout for continuous stream of messages

I have a chatty application that I'd like to automatically test post CI/CD build by leveraging the output stream as follows: If the application is running normally it will continuously dump a few ...
Olumide's user avatar
  • 177
1 vote
0 answers
163 views

Tmux: Scroll buffer not working on MSYS2/MINGW64 (Git for Windows SDK)

I installed the Git for Windows SDK on Windows 11 to have the pacman package installer available to install tmux. A lot of stuff works like it used to be on other platforms, but scrolling back using ...
Martin Braun's user avatar
0 votes
1 answer
268 views

MSYS2: Command works fine in terminal, but syntax error `(' in script

On Windows, with MSYS2, I want to add the file extension for an executable back to the output of which, if it has one. Here's a one-liner: locAlt="$(which "mingw32-make")" ; echo &...
RL-S's user avatar
  • 141
1 vote
1 answer
58 views

Is it possible to use the magnet uri scheme in PKGBUILDs?

Is it possible to use resources exchanged with the BitTorrent protocol in pacman's PKGBUILDs?
Scrooge McDuck's user avatar
2 votes
1 answer
500 views

Exclude from rsync log file or output non-updated files

For rsyncs that involve a large number of potentially transferred files, I mean to have a "clean" log, with only what was transferred. I worked with stdout, since: I did not know how to ...
sancho.s ReinstateMonicaCellio's user avatar
1 vote
1 answer
515 views

git-bash window title issue

I started a git-bash window, and type following commands : git-bash ~$ echo $BASH_VERSION 4.4.23(1)-release git-bash ~$ type cd cd is a shell builtin git-bash ~$ cd tmp git-bash ~/tmp$ # Change of ...
Philippe's user avatar
  • 1,435
0 votes
0 answers
21 views

scp from remote to remote does not work if not using -3 [duplicate]

I mean to copy files from one remote server to another. If using scp -3, command succeeds (I have remote1 and remote2 in my ~/.ssh/config) $ scp -p -3 remote1:dir1/file1 remote2:dir2/ but when not ...
sancho.s ReinstateMonicaCellio's user avatar
1 vote
1 answer
866 views

Is there a convenient way to test if a given flag is supported on a command?

Okay, so I'm kinda stumped here. I'm in the midst of a deep-dive into BASH, for the purposes of writing some automation scripts for my employer. Also, full disclosure here: I'm a web guy; hitherto I'...
NerdyDeeds's user avatar
-2 votes
1 answer
371 views

To count the number of occurrences of first field in text file [closed]

i require to count the number of occurrences of first field in txt file and to print output file as two column file having first field of input file & no. of occurrences of fist field in input ...
SBM Anand's user avatar
9 votes
5 answers
21k views

Handling Bash script with CRLF (carriage return) in Linux as in MSYS2?

Let's say I have the following trivial script, tmp.sh: echo "testing" stat . echo "testing again" Trivial as it is, it has \r\n (that is, CRLF, that is carriage return+line feed) as line endings. ...
sdaau's user avatar
  • 6,788
1 vote
0 answers
769 views

Inspect/browse gzipped dd disk image from command line without decompressing and mounting?

I did a disk image, as per How to dd a remote disk using SSH on local machine and save to a local disk : ssh user@remote "dd if=/dev/sda | gzip -1 -" | dd of=image.gz` Now, I would just like to ...
sdaau's user avatar
  • 6,788
0 votes
0 answers
50 views

Purpose of "!::=::\" `name=value pair` in `env` stdout [duplicate]

Inspecting the stdout the invocation of env utility without supplying an operand it returned a name=value pair whose meaning I don't understand nor was able to find any documentation $ env ... !::=::...
Paulo Tomé's user avatar
  • 3,772
3 votes
1 answer
2k views

paste: /dev/fd/63: No such file or directory

I'm new to Unix command. I was trying to execute the following commands in Git Bash and it directs to error message: paste: /dev/fd/63: No such file or directory # Set Up Image Lists paste <(awk "{...
scionx's user avatar
  • 31
2 votes
2 answers
1k views

Why does `ldd <dynamic_lib>` output "??? => ???" (question marks in both library and location)?

Running ldd <dynamic_lib>, I noticed that there are some entries that read ??? => ???. Searching for a variety of combinations of "Linux", "ldd" and "??? => ???", both via search engine ...
JDQ's user avatar
  • 285
3 votes
0 answers
117 views

What does it mean if a process has an O or an I at the start of the line?

After running ps, I noticed that a couple of the processes had an O at the start of the line. In all my years, I've never seen this. I thought that the meaning of the indicator might be common ...
Erik Humphrey's user avatar
1 vote
1 answer
2k views

LS_COLORS not respected on Cygwin

Whilst trying to configure ls' colors on Cygwin (specifically the distro babun), I found that the custom extension colors that were in the LS_COLORS environment variable weren't being used. Here's an ...
IllinoisJackson's user avatar
2 votes
0 answers
864 views

Is there implicit path conversion in Cygwin?

http://www.mingw.org/wiki/Posix_path_conversion For any executable not dependent on msys-1.0.dll, MSYS will convert POSIX paths that are used as arguments to Win32 paths. This page attempts to ...
Euri Pinhollow's user avatar
2 votes
0 answers
880 views

MSYS2 why doesn't adding "mingw" to fstab have any effect?

The package I'm working on uses Autotools -- autoconf, libtools, configure, etc. I'm developing with MinGW-W64 on Windows XP sp3. In it's infinite wisdom, libtools has decided that my system files (...
HiTechHiTouch's user avatar
3 votes
1 answer
2k views

How do I display a manpage with groff in/on msysgit?

I've been unable to correctly set up a MANPATH environment variable in msysgit (1.9.0; 20140217) on Windows 7 (which is not my main concern here). Every time I execute the man command, I recieve the ...
Agi Hammerthief's user avatar
3 votes
1 answer
4k views

Calling java from Bash: "Cannot execute binary file"

I have this simple Bash script: #!/bin/bash java -jar ClosureCompiler/compiler.jar --js ../src/typescript.js --js ../src/ts-compiler.js --js_output_file TSCompiler.js I'm getting this error when I ...
ComFreek's user avatar
  • 150
2 votes
3 answers
2k views

build script: how to implement a "skip previously completed step"

I'm trying to create a build script for GCC (which works, for now), but I would like to be able to skip rebuilding all the prereq libraries when I'm only updating GCC/binutils for example. I thought ...
rubenvb's user avatar
  • 370
1 vote
2 answers
608 views

Problematic build script with quotes

Hi I'm trying to create a build script that executes these commands: cd libiconv ../../src/libiconv/configure --prefix=/home/ruben/mingw64/build/gcc-libs \ --host=x86_64-...
rubenvb's user avatar
  • 370