PortableApps.com Carbide driveThe PortableApps.com Carbide is here! The Safest, Most Secure USB Flash Drive on Earth.
Military-grade hardware-encryption, water/shock/dust/tamper-resistant, 5 years of commercial USB antivirus, 5 year warranty, personalized, and PortableApps.com! 8GB, 16GB and 32GB starting at $89.95! Learn more and buy today!
Also: PA.c Companion (fast, affordable, colorful) | Please donate, so we can update & release new awesome apps!

BASH Portable Dev. Test 5

daBomb69 - August 9, 2009 - 1:38am

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. Sticking out tongue



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 Laughing out loud

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! Laughing out loud


    ( categories: )

    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.

    it is a good link (worked for

    it is a good link (worked for me

    and it is a nice thing to have

    Link should be working. But

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

    Use the search box! Please!

    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!

    Thanks guys. The download

    Thanks guys. The download worked this time.

    Works great.

    Works great. Laughing out loud

    Tested Dev3 on XP, no traces

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

    Yay! :D

    Woo! Awesome! Thanks for testing! Laughing out loud

    Use the search box! Please!

    Downloaded!!!

    Downloaded!!!

    Siggys waste bandwidth... that's why I have one.

    Yay!

    Yay!

    Use the search box! Please!

    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.

    Thanks :D

    Thanks a1b Laughing out loud

    Use the search box! Please!

    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

    Yay! you found it! The BASH

    Yay! you found it! Sticking out tongue

    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!

    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

    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)! Laughing out loud
    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! Laughing out loud

    Use the search box! Please!

    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!

    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

    oh, thanks @ ul And, too bad

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

    Use the search box! Please!

    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

    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

    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

    Woo! Took a while, but this

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

    Use the search box! Please!

    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

    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.