Windows GREP

Submit portable freeware that you find here. It helps if you include information like description, extraction instruction, Unicode support, whether it writes to the registry, and so on.

Moderators: usdcs, Andrew Lee, webfork

Message
Author
Ruby
Posts: 324
Joined: Sat Sep 05, 2009 6:35 pm

Re: Busybox & UnixKit-tiny

#16 Post by Ruby » Sun Oct 27, 2013 12:49 pm

Midas wrote:
Ruby wrote:@Midas - latest busybox stable is v1.20.2
  • While checking something else, I noticed that the latest version mentioned at the Busibox [Busybox] official webpage is v1.21.1, so this info might not be completely accurate...
[url=http://busybox.net/]http://busybox.net/[/url] author wrote:29 June 2013 -- BusyBox 1.21.1 (stable)
Uh... it was accurate at the time I posted it.

They also have a later 'stable' date posted (from what I remember) - 2 July 2012 -- BusyBox 1.20.2 (stable)

~Ruby

User avatar
Midas
Posts: 3940
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: grepWin

#17 Post by Midas » Sun Oct 27, 2013 12:55 pm

@Ruby: So sorry, my mistake (I checked http://busybox.net/downloads/) current is v1.21.1, but v1.20.2 is there -- I was only looking at the tail...
EDIT: contrary to Windows GREP, which is shareware, free OSS grepWin (referred by Gunner at http://www.portablefreeware.com/forums/ ... 122#p32122) is mostly portable if (always!) run with the /portable command line parameter -- it still saves some settings (window position) to 'HKCU\Software\grepWin'...

grepWin is currently v1.6.3.546 (2013/10/27 build date), available in 32 and 64 bit variants from the homepage at http://stefanstools.sourceforge.net/grepWin.html.
  • Image
@webfork: present topic should probably be moved to 'Resources and Links' or the like... :)
Last edited by Midas on Tue Mar 07, 2017 11:25 am, edited 2 times in total.

User avatar
Midas
Posts: 3940
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: grepWin

#18 Post by Midas » Tue Jun 24, 2014 8:06 am

grepWin is currently v1.6.5 (changelog not found, download at http://sourceforge.net/projects/stefans ... s/grepWin/)

Ruby
Posts: 324
Joined: Sat Sep 05, 2009 6:35 pm

Re: Windows GREP

#19 Post by Ruby » Tue Jun 24, 2014 10:53 am

I know this topic is 'Windows GREP' but for the interested:

BusyBox v1.23.0
Image
http://intgat.tigress.co.uk/rmy/busybox/index.html

~Ruby

User avatar
Midas
Posts: 3940
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: grepWin

#20 Post by Midas » Fri Jun 12, 2015 5:12 am

grepWin is currently v1.6.9(.612, released 2015-06-09; changelog not found, download from http://sourceforge.net/projects/grepwin/files/1.6.9/).

There are now portable versions with both 32 and 64-bits executables that appear to be completely stealth -- settings are saved to (a mostly empty) 'grepwin.ini' file in program folder, and I didn't find the the previously reported registry entry at 'HKCU\Software\grepWin'. In the interest of running the adequate bitness version, you could use the following config for the yaP launcher:
  • Code: Select all

    ; configuration file for yaP v0.6.5.293B (http://rolandtoth.hu/yaP/)
    ; application name: grepWin
    ; version: v1.6.9.612
    ; website: http://stefanstools.sourceforge.net/grepWin.html
    
    [GENERAL]
    application = grepWin32.main :: grepWin64.main
    ; commandline = 
    ; workdir = 
    
    [BEFORE]
    nowait = 1
    [...]
Please note that download of both portable versions and renaming each one -- to 'grepWin32.main' and 'grepWin64.main' -- is required for this launcher configuration to work.
  • Image
Having compressed said executables with UPX and mpress, respectively, my whole portable grepWin folder is thus less than 1MB... :mrgreen:
Last edited by Midas on Tue Mar 07, 2017 11:25 am, edited 1 time in total.

User avatar
Midas
Posts: 3940
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: BusyBox for Windows

#21 Post by Midas » Fri Jun 12, 2015 10:04 am

Ruby wrote:I know this topic is 'Windows GREP' but for the interested: BusyBox v1.23.0
  • BTW, busibox-w32 v1.24.0-FRP-15-g0ccf7a0, dated 2015-06-05, has been released (no changelog, see http://frippery.org/busybox/).

    This version saves command history to '%USERPROFILE%\.ash_history' by default, making it not natively portable, but launching it in shell mode with the following batch script solves that:
    • Code: Select all

      @%COMSPEC% /C "SET HOME=%~dp0home&& SET PATH=%PATH%%~dp0;&& TITLE BusyBox v1.24.0&& %~dp0busybox.exe sh -l"

TP109
Posts: 482
Joined: Sat Apr 08, 2006 7:12 pm
Location: Illinois/Indiana

Re: Windows GREP

#22 Post by TP109 » Fri Jun 12, 2015 5:25 pm

Windows XP not supported. See here: http://stefanstools.sourceforge.net/grepWin.html.

User avatar
Midas
Posts: 3940
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Windows GREP

#23 Post by Midas » Sat Jan 02, 2016 6:46 am

grepWin v1.6.13 released (dated 2015-12-15; changelog not found; download from http://sourceforge.net/projects/grepwin/files/1.6.13/).

Busybox-w32 v4.4.1 releasead (dated 2016-05-24; changelog not found; download from http://frippery.org/files/busybox/busyb ... 3c3b08.exe).

__philippe
Posts: 422
Joined: Wed Jun 26, 2013 2:09 am

Re: BusyBox-Unix utilities in single executable

#24 Post by __philippe » Wed Sep 07, 2016 10:54 am

BusyBox-w32 recent release: 2016-08-16 16:02 410K

Aptly discussed in preceding posts, but perhaps worth underlining anew:

adapted from the current BusyBox --help display:
BusyBox v1.26.0-FRP-484-g977d65c (2016-08-16 15:49:02 BST)
(mingw32-gcc 6.1.0-1.fc24; mingw32-crt 5.0-0.2.rc2.v5.x.git65a0c3.20160723.fc24)

Remarkable multi-call binary combining many (128 in this release) common Unix utilities into a single 410K executable.
Some of the notable tools found therein (and notably lacking from either UnxUtils or UnixKit-Tiny competing packages):
  • awk (pattern matching utility)
  • bash (Bash shell command interpreter)
  • ps (current processes stats)
  • rev (reverse order of characters in every line of a file)
  • sh (Bourne shell command interpreter)
  • strings (find words inside binaries and other non printable files)
  • truncate (truncate a file to a specified length)
  • ...
BusyBox-w32 is a port of BusyBox to the Microsoft Windows WIN32 API.
It brings a subset of the functionality of BusyBox to Windows in a single 410K self-contained native executable.

BusyBox-w32 official site

__philippe
Posts: 422
Joined: Wed Jun 26, 2013 2:09 am

BusyBox-Unix utilities in a single executable

#25 Post by __philippe » Thu Oct 27, 2016 8:43 am

BusyBox-w32 recent release: v1.26.0-FRP-671 (2016-10-20 15:52:42 BST) 419K

from the BusyBox --help display header:
BusyBox v1.26.0-FRP-671-ge135a80 (2016-10-20 15:52:42 BST) multi-call binary.
(mingw32-gcc 6.2.0-1.fc24; mingw32-crt 5.0-0.2.rc2.v5.x.git65a0c3.20160723.fc24)

__philippe
Posts: 422
Joined: Wed Jun 26, 2013 2:09 am

BusyBox-Unix utilities in a single executable

#26 Post by __philippe » Tue Jan 10, 2017 5:37 am

BusyBox-w32 recent release: v1.27.0-FRP-874 (2017-01-08 09:29:54 GMT) 419k

from the BusyBox current --help display:
BusyBox v1.27.0-FRP-874-g373ca86 (2017-01-08 09:29:54 GMT) multi-call binary.
(mingw32-gcc 6.3.0-1.fc25; mingw32-crt 5.0.0-1.fc25)

BusyBox is copyrighted by many authors between 1998-2015.
Licensed under GPLv2. See source distribution for detailed
copyright notices.

Usage: busybox [function [arguments]...]
or: busybox --list
or: busybox --install [DIR]
or: function [arguments]...

BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. The shell in this build
is configured to run built-in utilities without $PATH search.
You don't need to install a link to busybox for each utility.
To run external program, use full path (/sbin/ip instead of ip).

Currently defined functions:
[, [[, ar, ash, awk, base64, basename, bash, bunzip2, bzcat, bzip2,
cal, cat, catv, chmod, cksum, clear, cmp, comm, cp, cpio, cut, date,
dc, dd, df, diff, dirname, dos2unix, dpkg-deb, du, echo, ed, egrep,
env, expand, expr, false, fgrep, find, fold, ftpget, ftpput, getopt,
grep, groups, gunzip, gzip, hd, head, hexdump, id, ipcalc, kill,
killall, less, ln, logname, ls, lzcat, lzma, lzop, lzopcat, man,
md5sum, mkdir, mktemp, mv, nc, od, patch, pgrep, pidof, printenv,
printf, ps, pwd, rev, rm, rmdir, rpm2cpio, sed, seq, sh, sha1sum,
sha256sum, sha3sum, sha512sum, shuf, sleep, sort, split, stat, strings,
sum, tac, tail, tar, tee, test, touch, tr, true, truncate, uname,
uncompress, unexpand, uniq, unix2dos, unlink, unlzma, unlzop, unxz,
unzip, usleep, uudecode, uuencode, vi, wc, wget, which, whoami, whois,
xargs, xz, xzcat, yes, zcat

__philippe
Posts: 422
Joined: Wed Jun 26, 2013 2:09 am

BusyBox-Unix utilities in a single executable

#27 Post by __philippe » Thu Mar 02, 2017 6:17 am

BusyBox-w32 recent release: v1.27.0-FRP-1035-g74163a5 (2017-02-09 08:42:39 GMT) 421k
(mingw32-gcc 6.3.0-1.fc25; mingw32-crt 5.0.0-1.fc25)

Two new applets added in this release, now counting 130 Unix utilities...: 8)

link
Usage: link FILE LINK
Create hard LINK to FILE

xxd
Usage: xxd [OPTIONS] [FILE]
Hex dump FILE (or stdin)

-g N Bytes per group
-c N Bytes per line
-p Show only hex bytes, assumes -c30
-l LENGTH Show only first LENGTH bytes
-s OFFSET Skip OFFSET bytes

__philippe
Posts: 422
Joined: Wed Jun 26, 2013 2:09 am

XXD hex-dump utility

#28 Post by __philippe » Tue Mar 07, 2017 10:33 am

BTW, further to the above post,

    xxd.exe, a small (70k) but mighty stand-alone hex-converter, ported from Linux to Win32, can be downloaded here. (full MAN page there.)

Code: Select all

c:\>sigcheck -q -v xxd.exe
        Verified:       Unsigned
        Link date:      16:52 27/10/2010
        MachineType:    32-bit
	     VT detection:   1/56
[/medium]
Very handy for quickly creating Hex dump of a file, or for checking Hex values from standard keyboard input on-the-fly.

    Example usage:
    Two consecutive non-printing "Alt-255" characters (inserted beteen strings "1234" and "qwerty") are rendered as Hex FFFF

Code: Select all

c:\>echo 1234  qwerty | xxd -u
0000000: 3132 3334 FFFF 7177 6572 7479 200D 0A    1234..qwerty ..
[/medium]
    Command options summary

Code: Select all

c:\>xxd -h
Usage:
       xxd [options] [infile [outfile]]
    or
       xxd -r [-s [-]offset] [-c cols] [-ps] [infile [outfile]]
Options:
    -a          toggle autoskip: A single '*' replaces nul-lines. Default off
    -b          binary digit dump (incompatible with -ps,-i,-r). Default hex.
    -c cols     format <cols> octets per line. Default 16 (-i: 12, -ps: 30).
    -E          show characters in EBCDIC. Default ASCII.
    -g          number of octets per group in normal output. Default 2.
    -h          print this summary.
    -i          output in C include file style.
    -l len      stop after <len> octets.
    -ps         output in postscript plain hexdump style.
    -r          reverse operation: convert (or patch) hexdump into binary.
    -r -s off   revert with <off> added to file positions found in hexdump.
    -s [+][-]seek  start at <seek> bytes abs. (or +: rel.) infile offset.
    -u          use upper case hex letters.
    -v          show version: "xxd V1.10 27oct98 by Juergen Weigert (Win32)".
[/medium]

__philippe
Posts: 422
Joined: Wed Jun 26, 2013 2:09 am

BusyBox-Unix utilities in a single executable

#29 Post by __philippe » Sat Jun 10, 2017 12:35 pm

BusyBox-w32 recent release : v1.27.0-FRP-1144-gc2002ea (2017-05-30 12:36:42 BST) multi-call binary (423k)
(mingw32-gcc 6.3.0-1.fc25; mingw32-crt 5.0.0-1.fc25)

Three new applets added to this release:

factor
Usage: factor [NUMBER]...
Print prime factors

nl
Usage: nl [OPTIONS] [FILE]...
Write FILEs to standard output with line numbers added

    -b STYLE Which lines to number - a: all, t: nonempty, n: none
    -i N Line number increment
    -s STRING Use STRING as line number separator
    -v N Start from N
    -w N Width of line numbers

paste
Usage: paste [OPTIONS] [FILE]...
Paste lines from each input file, separated with tab

    -d LIST Use delimiters from LIST, not tab
    -s Serial: one file at a time

User avatar
Midas
Posts: 3940
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Windows GREP

#30 Post by Midas » Mon Jul 03, 2017 9:56 am

grepWin portable(?) v1.7.0 released (no changelog; download is at https://sourceforge.net/projects/grepwin/files/).

Portability info (also at http://stefanstools.sourceforge.net/grepWin_cmd.html):

Post Reply