You are here

BASH Portable Dev. Test 5

27 posts / 0 new
Last post
daBomb69
Offline
Last seen: 3 years 9 months ago
Joined: 2009-02-09 21:49
BASH Portable Dev. Test 5

Application: BASH ( Win-Bash to be more specific) / UnxUtils
Category: Utilities
Description: Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. It offers functional improvements over sh for both programming and interactive use. In addition, most sh scripts can be run by Bash without modification.

Download Bash Portable Development Test 5

[3.17MB download / 7.47MB installed]
(MD5: 4fa5da0eb70a7100b30a7ed283c5bc63)

Release Notes:

Development Test 5 (2009-11-01)

  • Fixed all the stuff OliverK told me to. Blum



Development Test 4 (2009-09-04)

  • Possibly fixed file remaining on computer issue (Not 100% sure because I can never get the file to appear in the first place)
  • Added support for Bash Scripts w/o modifying the script.



Development Test 3 (2009-07-21): Finally got the User Tools configured to work w/ PATH settings Biggrin

Development Test 2 (2009-07-16)

    • Fixed help.html

    • Discovered that Bash Portable will Not work in WINE on Linux correctly.


  • Development Test 1 (2009-07-08): Initial release

    Thanks to alpha1beta for hosting! Biggrin

    alanbcohen
    Offline
    Last seen: 4 years 7 months ago
    Joined: 2006-01-04 10:47
    Spam link?

    When I try to download from the mediafire page that opens when I select the link above, I'm getting spam pages and advertising and no download. I'd appreciate a confirmation that this is a valid download link.

    jnw222
    Offline
    Last seen: 11 years 11 months ago
    Joined: 2009-05-30 11:10
    it is a good link (worked for

    it is a good link (worked for me

    and it is a nice thing to have

    daBomb69
    Offline
    Last seen: 3 years 9 months ago
    Joined: 2009-02-09 21:49
    Link should be working. But

    Link should be working. But ya, Mediafire, being a free service, is add supported.

    Use the search box! Please!

    alanbcohen
    Offline
    Last seen: 4 years 7 months ago
    Joined: 2006-01-04 10:47
    I've used other mediafire

    I've used other mediafire links before, so I knew what to expect. I just didn't get it this time!

    alanbcohen
    Offline
    Last seen: 4 years 7 months ago
    Joined: 2006-01-04 10:47
    Thanks guys. The download

    Thanks guys. The download worked this time.

    TheOneMrO
    Offline
    Last seen: 13 years 9 months ago
    Joined: 2005-12-09 08:42
    Works great.

    Works great. Biggrin

    TheOneMrO
    Offline
    Last seen: 13 years 9 months ago
    Joined: 2005-12-09 08:42
    Tested Dev3 on XP, no traces

    Tested Dev3 on XP, no traces left behind and paths working properly.

    daBomb69
    Offline
    Last seen: 3 years 9 months ago
    Joined: 2009-02-09 21:49
    Yay! :D

    Woo! Awesome! Thanks for testing! Biggrin

    Use the search box! Please!

    gluxon
    gluxon's picture
    Offline
    Last seen: 3 years 6 months ago
    Developer
    Joined: 2008-06-21 19:26
    Downloaded!!!

    Downloaded!!!

    daBomb69
    Offline
    Last seen: 3 years 9 months ago
    Joined: 2009-02-09 21:49
    Yay!

    Yay!

    Use the search box! Please!

    alpha1
    alpha1's picture
    Offline
    Last seen: 8 years 10 months ago
    Joined: 2007-07-08 20:02
    if you want, i can mirror the

    if you want, i can mirror the download, cut out any problems you might be having
    PM me on the IRC sometime, even when i'm not in the room, I'm always on the network.

    Lead, Follow, or get out of the way.

    daBomb69
    Offline
    Last seen: 3 years 9 months ago
    Joined: 2009-02-09 21:49
    Thanks :D

    Thanks a1b Biggrin

    Use the search box! Please!

    besonen
    Offline
    Last seen: 11 years 11 months ago
    Joined: 2007-04-21 16:32
    what is the non-portable version of "BASH Portable"?

    what is the non-portable version of "BASH Portable"? it looks a lot like "GNU utilities for Win32":

    http://unxutils.sourceforge.net/

    thanks,
    david

    daBomb69
    Offline
    Last seen: 3 years 9 months ago
    Joined: 2009-02-09 21:49
    Yay! you found it! The BASH

    Yay! you found it! Blum

    The BASH Portable I'm releasing is currantly a combination of GNU Utilities for win32 @ http://unxutils.sourceforge.net/ and win-bash @ http://win-bash.sourceforge.net

    Use the search box! Please!

    powerjuce
    powerjuce's picture
    Offline
    Last seen: 13 years 1 month ago
    Developer
    Joined: 2007-09-20 21:34
    here are the results
      General Stuff

    • OS: Windows XP sp3
    • Rights: Admin
    • What Release(Dev test # or Pre-Release #): DT3

    Paf specific Information

    main dir

    • HTml problem. read note about it at the bottom
    • App dir
      • you need to add the readme.txt
      • AppInfo dir
        • change the icon and remove the 16 color versions
      • Appinfo.ini
        • Change the publisher to daBomb69 & PortableApps.com
        • Change Display version to 1.0.0.0
    • BASH dir
      • All Clean
    • Default Data dir
      • you have an "anotherdirectory" and a settings what is the purpost of the another directory?
      • In the settings directory you have a file called "ChrisPortableApps.comLauncherTestSettings.ini" I dont think you need that
  • Data dir
    • Nothing was transfered here
  • Other dir
    • All Clean
    • Help dir
      • All CLean
      • images dir
        • All Clean
    • Source dir
      • You need to add a BASHPortable.ini
      • Code
        • !define VER "0.1.0.0" change that to 1.0.0.0 as well
  • General Errors

      General Errors

    1. I think the .bash_history showed up on my C: drive cause i ran it from my c drive, so while it is still technically on the drive, it really should be moved back into the data folder.
    2. while I ran BP, i found that it was never really saving the information in the DATA folder.

    OH i have the help.html file redone - will post a link to it soon

    Please search before posting. ~Thanks

    daBomb69
    Offline
    Last seen: 3 years 9 months ago
    Joined: 2009-02-09 21:49
    I'm pretty sure I've got it

    I'm pretty sure I've got it fixed (thanks for the help and the help.html)! Biggrin
    Once again, I cannot get the .bash_history file to appear at all, so I'm not 100% sure that works. Other than that, it's all good! Biggrin

    Use the search box! Please!

    daBomb69
    Offline
    Last seen: 3 years 9 months ago
    Joined: 2009-02-09 21:49
    Tested and works

    Tested and works on:

  • Windows 7 Ultimate RTM
  • Windows XP SP 3 (User)
  • Windows XP SP 3 (Admin)
  • Use the search box! Please!

    OliverK
    OliverK's picture
    Offline
    Last seen: 2 years 9 months ago
    Developer
    Joined: 2007-03-27 15:21
    dabomb, you forget the ul

    dabomb, you forget the ul tags.
    And, bummer, I was gonna do a package with unixtils Sad Oh well. I think mine is fundamentally different from yours. Guess that means I'll have to download and see.

    Too many lonely hearts in the real world
    Too many bridges you can burn
    Too many tables you can't turn
    Don't wanna live my life in the real world

    daBomb69
    Offline
    Last seen: 3 years 9 months ago
    Joined: 2009-02-09 21:49
    oh, thanks @ ul And, too bad

    oh, thanks @ ul
    And, too bad about the unixtils Sad

    Use the search box! Please!

    OliverK
    OliverK's picture
    Offline
    Last seen: 2 years 9 months ago
    Developer
    Joined: 2007-03-27 15:21
    that's okay, I'll just finish

    that's okay, I'll just finish up nano portable. Maybe i'll use MSYS to build the latest nano.

    I'll look at you're source and try ot figure out how to add my functions to yours, or something like that . . .

    Too many lonely hearts in the real world
    Too many bridges you can burn
    Too many tables you can't turn
    Don't wanna live my life in the real world

    powerjuce
    powerjuce's picture
    Offline
    Last seen: 13 years 1 month ago
    Developer
    Joined: 2007-09-20 21:34
    good job!!

    bash history is not preserved, that is good.

    aight just a couple things.
    Make sure u add the readme in the app directory (i am not sure if u still need this so if someone could just say so that would b great)
    Also i think to maintain paf u need the default data dir in the APP dir, so just re-add that.
    Finally add the correct ini file to the Other\Source dir.

    good job with this

    Regards
    ~powerjuce

    Please search before posting. ~Thanks

    OliverK
    OliverK's picture
    Offline
    Last seen: 2 years 9 months ago
    Developer
    Joined: 2007-03-27 15:21
    Results

    Okay, I anylzed this.

    In your source, you need to have your copyright, john's copyright, and the general GNU license header:

    ;Website: http://PortableApps.com/BASHPortable
    
    ;This software is OSI Certified Open Source Software.
    ;OSI Certified is a certification mark of the Open Source Initiative.
    
    ;This program is free software; you can redistribute it and/or
    ;modify it under the terms of the GNU General Public License
    ;as published by the Free Software Foundation; either version 2
    ;of the License, or (at your option) any later version.
    
    ;This program is distributed in the hope that it will be useful,
    ;but WITHOUT ANY WARRANTY; without even the implied warranty of
    ;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    ;GNU General Public License for more details.
    
    ;You should have received a copy of the GNU General Public License
    ;along with this program; if not, write to the Free Software
    ;Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

    Legal Copyright should be LegalCopyright "PortableApps.com & Contributors", not John T. Haller.

    Section PATH
      ReadEnvStr $R1 PATH
      StrCpy $R1 "$R1;$EXEDIR\App\Bash\usr\local\wbin"
      ${Locate} "$EXEDIR\App\Bash\usr\local\wbin" "/L=D /G=0" "AddDirectoryToPath"
      System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("PATH", R1).n'
    SectionEnd
    
    Function AddDirectoryToPath
      StrCpy $R1 "$R1;$R9"
      Push ""
    FunctionEnd

    Why not just System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("PATH", $EXEDIR\App\Bash\usr\local\wbin" ).n'?

    You should have the standard messages about things not being found, etc.

    You need TheEnd:
    newadvsplash::stop /WAIT

    so that the splash dll will be deleted and not left behind.

    Rename `C:\.bash_history` `$EXEDIR\Data\.bash_history` rename doesn't work across drives.

    In the appinfo.ini
    Publisher=daBomb69 & PortableApps.com should be Win-Bash &PortableApps.com

    [Version]
    PackageVersion=1.0.0.0
    DisplayVersion=1

    Should be the version of WinBash and a short version of Win-Bash, i.e. 1.6.4.0. and 1.6

    Your help.html is damaged. The bottom part doesn't show, both IE and Firefox.

    I noticed you don't have langauge switching. If WinBash doesn't support it, then that's fine. If it does (and I don't know) you will need to support it.

    Too many lonely hearts in the real world
    Too many bridges you can burn
    Too many tables you can't turn
    Don't wanna live my life in the real world

    daBomb69
    Offline
    Last seen: 3 years 9 months ago
    Joined: 2009-02-09 21:49
    Woo! Took a while, but this

    Woo! Took a while, but this should be good to go! ^_^

    Use the search box! Please!

    kwhitefoot
    Offline
    Last seen: 7 years 6 months ago
    Joined: 2011-02-10 06:09
    Out of date versions

    I've used unxutils for many years but the version of sed included is very much out of date compared the Gnu utils version. I think it should be possible to include the Gnu versions instead. They have more features and are also the versions commonly found in Linux distros.

    They can be downloaded from http://gnuwin32.sourceforge.net

    lm8
    Offline
    Last seen: 10 years 3 months ago
    Joined: 2006-04-17 08:49
    coreutils

    There's also a port of the Busybox utilities to Windows:
    https://github.com/pclouds/busybox-w32
    Makes a nice alternative to UnxUtils and GnuWin32.

    I've also been working on porting some Minix and NetBSD versions of common utilies to Windows. Working on trying to come up with an all native Windows alternative to using msys.

    d4winds
    Offline
    Last seen: 9 years 5 months ago
    Joined: 2012-11-16 15:32
    Curent path variable setting is poor

    disclaimer: I know next to nothing about NSIS, so the remarks below may seem quaintly easy to remedy to those who are so knowledgeable. If so, would someone so apprise of the remedy on this forum. Better--any such remedies should be a part of the help available for any release.

    The path environment variable should be set in an easily modifiable '.ini' file in the executable directory. The current path setting is next to useless; almost no one is seriously going to use those very old UnxUtils--no matter how useful they were in their time--if updated mingw and/or gnuwin32 binaries are available with a simple resetting of the path.

    Log in or register to post comments