1.8.23 • Published 5 months ago

grepord v1.8.23

Weekly downloads
108
License
MIT
Repository
github
Last release
5 months ago

Build Status dependencies Status license npm version Automated Release Notes by gren

About

Use this program to grep (search) for an ordered list of files. Example: Within a given directory, you could find the most recently updated files that contain the text 'hello world'.

Installation

npm install -g grepord

Usage

grepord <grep arguments>… [-sort:[<fs.Stats property>][,][(desc|asc)][,][<limit number>]]

Grepord requires grep to already be installed. Type grep -h to check if grep is installed.

To use this program, you must enter grep arguments that will return file paths. Example: grepord -iRl './' -e 'hello world'

You can sort by the properties of fs.Stats. See: https://nodejs.org/api/fs.html#fs_class_fs_stats

The default sort is mtime descending. The format for changing the sort is -sort: as the last argument, with an optional fs.Stats property, a comma, an optional desc or asc, a comma and then an optional limit number (This operates the same way as the SQL LIMIT/TOP clause). Example: grepord -iRl './test' -e 'hello' -sort:birthtimeMs,asc,1

Release Steps

  • npm run test
  • Update package.json version
  • npm run build-man
  • Push updates
  • npm run release

Source Code

  • index.js
  • test.mjs
1.8.23

5 months ago

1.8.21

8 months ago

1.8.17

2 years ago

1.8.19

2 years ago

1.8.16

2 years ago

1.8.14

3 years ago

1.8.15

3 years ago

1.8.13

3 years ago

1.8.11

3 years ago

1.8.10

3 years ago

1.8.7

3 years ago

1.8.1

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago