Questions tagged [msys]
23 questions
8
votes
4 answers
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. Since the webpage will not preserve the line…
sdaau
- 6,668
- 12
- 57
- 69
3
votes
1 answer
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 "{print \"$PWD\"}" <5k.part) 5k.part | tr -d '\t' >…
scionx
- 31
- 3
3
votes
1 answer
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 try to run the script using build.sh in the MSYS…
ComFreek
- 150
- 1
- 9
3
votes
0 answers
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 knowledge, but I asked my circle of software…
Erik Humphrey
- 133
- 4
3
votes
1 answer
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 following errors:
/usr/local/lib/man.config: No…
Agi Hammerthief
- 572
- 6
- 21
2
votes
1 answer
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 configure the log output (if that is even possible).
I also…
sancho.s ReinstateMonicaCellio
- 2,630
- 1
- 16
- 31
2
votes
0 answers
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 document the heuristics MSYS uses to decide which…
Euri Pinhollow
- 231
- 1
- 7
2
votes
0 answers
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 (NATIVE_SYSTEM_HEADER_DIR) are in /mingw/include. …
HiTechHiTouch
- 881
- 1
- 7
- 15
2
votes
3 answers
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 of making the script create a file in the main…
rubenvb
- 370
- 1
- 2
- 14
1
vote
1 answer
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
- 996
- 1
- 9
- 23
1
vote
1 answer
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 directory is NOT refelected on git-bash window…
Philippe
- 1,275
- 7
- 14
1
vote
1 answer
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've known JUST enough CLI to operate git.
My issue…
NerdyDeeds
- 121
- 5
1
vote
0 answers
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 doublecheck this image - see the partitions included,…
sdaau
- 6,668
- 12
- 57
- 69
1
vote
2 answers
Why does `ldd ` output "??? => ???" (question marks in both library and location)?
Running ldd , I noticed that there are some entries that read ??? => ???. Searching for a variety of combinations of "Linux", "ldd" and "??? => ???", both via search engine and on this site did not turn up anything.
Possibly relevant:…
JDQ
- 265
- 2
- 7
1
vote
1 answer
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
- 11
- 3