Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8889119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:11:04+00:00 2026-06-14T22:11:04+00:00

My gnuplot scripts use awk to preprocess some data. Everything works fine in Linux.

  • 0

My gnuplot scripts use awk to preprocess some data. Everything works fine in Linux.
But I also like to run these scripts in Windows. Most of the time I use the Git Bash (msysgit) for my command line work in Windows. This saves me from maintaining windows batch files in addition to my shell scripts.

The problem is that Git Bash does not provide a gnuplot command, although it does provide awk. I manually installed Gnuplot (MinGW) and added it’s bin dir to the %PATH%.

Now I can run gnuplot from the Git Bash. But since it is a “Windows app” it does not recognize the tools/binaries provided by the MSYS Git, such as awk. I think I could add Git’s MSYS bin dir to the %PATH%, but (as the Git installer tells you) this might interfere with some OS systems functions. I also do not want to install another MSYS. The Git version is just fine as it is for me.

Is there a better solution to get gnuplot running with my MSYS binaries (esp. awk).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T22:11:05+00:00Added an answer on June 14, 2026 at 10:11 pm

    I found a quite simply solution to my problem. One solution would be adding the full Git/bin to the %PATH% which I did not want to do (see above). But if you just need a few commands you can setup a simple non intrusive “mini” MSYS in one of your bin folders (those already in your %PATH%), or you create a new one and add that to the %PATH%.

    Setting up awk for my gnuplot scripts:

    1. Copy gawk.exe from the Git/bin to %HOME%/bin/awk.exe
    2. Copy msys-1.0.dll from Git/bin to %HOME%/bin
    3. Add %HOME%/bin to your %PATH% (if not already)

    To test it, just open the command line and type awk. I can now double click my plot.sh script which is automatically run via Git’s bash. The script calls the gnuplot Windows binary of, which you should also have on your %PATH%, and gnuplot finally (internally) calls awk.

    Works like a charm!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm plotting some data curves with gnuplot, and they look like this: However, the
I'm doing some script on bash to plot data with gnuplot. But it doesn't
I have small script in bash, which is generating graphs via gnuplot. Everything works
Can somebody help me convert this gnuplot command to gnuplot.py gnuplot command(works fine in
Is there a method to use multiple pipes when reading data with Gnuplot? The
I am looking for a gnuplot-like program for charting data in a timeline. gnuplot-like
I have some X Y Z data in a file and I'm using gnuplot
I am using Gnuplot to successfully plot some time series data. However, the series
I have some problems with the following: I would like to plot many data
When plotting color-maps using gnuplot, I usually use the following lines: ... set palette

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.