Skip to main content

Questions tagged [msys]

1 vote
1 answer
90 views

MSYS2-built Linux applications internally rewrite Linux paths to Windows paths. This can be problematic if those are supposed to interface with other, proper-Linux applications (e.g. in my case, MSYS2 ...
Zsar's user avatar
  • 121
1 vote
0 answers
53 views

On Msys2 env.: $ cd /c/msys64/mingw64/lib/ $ ln -s libz.dll.a libzlib.dll.a But confusingly why ln command did copy instead of linking it symbolically ? $ ls -l libz* -rw-r--r-- 1 abdu None 108700 ...
Dumb's user avatar
  • 11
3 votes
2 answers
188 views

I work on a legacy system originally written in C for 3b2 SVR3, later in C++ for Sun/Solaris, now mainly for Linux. We have a few users who require our apps to run on Windows Servers, so we have ...
monkboon's evil twin's user avatar
0 votes
1 answer
106 views

I have found a similar question on https://askubuntu.com/questions/144547/how-to-package-a-single-text-file-into-a-deb - unfortunately there is no answer I can use. Basically, I want to manage a text ...
sdbbs's user avatar
  • 590
0 votes
1 answer
193 views

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
  • 94.8k
1 vote
0 answers
297 views

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
477 views

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
98 views

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

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
2 votes
1 answer
693 views

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,515
0 votes
0 answers
25 views

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
1k views

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
429 views

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
13 votes
5 answers
28k views

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
  • 7,168
1 vote
0 answers
987 views

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
  • 7,168

15 30 50 per page