623 Commits (fa546de881c42204e1e0e4afbfcfe982d55badac)
 

Author SHA1 Message Date
terminalforlife fa546de881 Add lenchk (max_length functionality, and some)
Hope this helps. I wish I'd known this is what you were after, but I
guess it didn't click! This is an area I love and excel at, so I
hoped to put that to use here.

* The colorization flag might help when there are a lot of results.

* By far, the indented line number and preview of the offending lines
  is the most useful aspect of lenchk, making it much easier to track
  down troublesome lines, especially for the inexperienced.

* I've accounted for `//` lines (C languages), although some like
  Javascript, HTML, and CSS I've yet to get around to.

* There's a summary, which is probably pointless, but it might help to
  keep track of our progress in getting through the files.

* It's ever-so-slightly more efficient and portable, but ultimately, -
  I'd say making it use just /bin/sh would be better, but Bash is
  pretty common-place these days, and has features which make lenchk
  much cleaner.

  Ideally, I'd have written this in Perl, due to the limited lifespan
  of this tester, because a shell can only handle so much data before
  it starts to chug. I figured, however, that not everyone will have
  Perl.

If this commit isn't accepted, no worries, as I'm sure I can repurpose
it for use elsewhere.

Want it, but have issues? Let me know, and I'll get on that ASAP.

Note that I've removed max_length in this commit, to avoid confusion.
4 years ago
Igor Chubin 2abb75a33f
Merge pull request #131 from MFTabriz/master
add another example to ch-run
4 years ago
Igor Chubin f058d7d647
Merge pull request #132 from MFTabriz/patch-1
add link to the issue page
4 years ago
Meisam 8a7db69085
add link to the issue page 4 years ago
mtabriz eabd18aa74 fix the style 4 years ago
mtabriz 8e07a37f7d add another example to ch-run 4 years ago
Igor Chubin 86baa0e06c
Extend cheat sheet format dscription 4 years ago
Igor Chubin 3c79257969
Update simple curl call description 4 years ago
Igor Chubin fd0cb41bcd
Merge pull request #129 from chubin/tests
Add tests/max-length
4 years ago
Igor Chubin dd8d8307e5
Merge pull request #130 from terminalforlife/master
New File, New Examples, and Some Code/Comment Tweaks
4 years ago
terminalforlife e380f4eeb5 Add read sheet + 2 examples
I realise it's a built-in, and that its operation can wildly differ,
depending on the shell used, which is why I've added that the sheet is
for the Bash built-in. I'm not sure how this project handles multiple
different tools by the same name; worth looking into, @chubin?
4 years ago
terminalforlife 98dd514d7b Add important policies tip for udisksctl
Without knowledge of this, people trying out an Ubuntu- or Debian-based
distribution will be frustrated when trying to use udisksctl(1). I ran
into this situation myself, so discovering this was a relief.
4 years ago
terminalforlife a559fd580f Add variable spacing example to printf 4 years ago
terminalforlife 8576445e17 Improve wording & code readability of xargs
I've also un-squished flags & their arguments to avoid confusion.
4 years ago
terminalforlife ac2480bca9 Bring consistency of formatting to ch-* sheets 4 years ago
terminalforlife bb5e860c01 Add cdparanoia sheet + an example 4 years ago
Igor Chubin 3f5b5264ea Add tests/max-length 4 years ago
Igor Chubin 592eef7e29
Merge pull request #128 from MFTabriz/master
add basic Charliecloud commands
4 years ago
mtabriz b7e75f1271 enforce 80char max line length
misc. cleanup
4 years ago
mtabriz c2dbffd666 add basic Charliecloud commands
https://github.com/hpc/charliecloud
4 years ago
Igor Chubin 7a2557b17a
Merge pull request #127 from terminalforlife/master
New Files & Examples (Including `ffmpeg`, Per #124)
4 years ago
terminalforlife 3ba771bcaf Add ffmpeg file + examples, per PR #124
Thinking about it, I'm not sure ffmpeg(1) is bulky enough to warrant a
_ffmpeg page. Maybe see if it gets more attention, then go from there?
4 years ago
terminalforlife 3de050a116 Add read() example to perl file 4 years ago
Igor Chubin b499c90c2a
Merge pull request #126 from toretto/patch-1
Update nmap
4 years ago
Steven Zeegers a5fed1dcc8
Update nmap
Fixed two typo's and didn't dare to touch anything else.
4 years ago
Igor Chubin 6e49a334ca
Merge pull request #125 from wangzhe3224/patch-1
fix typo in learn
4 years ago
Zhe Wang f2b127257b
fix typo in learn 4 years ago
Igor Chubin 0a365d0c15
Merge pull request #124 from gfrein/patch-1
Update convert
4 years ago
Georg Frein 825c29a0f1
Update convert 4 years ago
Igor Chubin 968cfc4e22
Merge pull request #123 from terminalforlife/master
Slight Presentation Tweak
4 years ago
terminalforlife c4a1df60a4 Slightly tweak presentation for consistency
If I missed something crucial in my minor edits of the wording of the
descriptions, please let me know, @MFTabriz.
4 years ago
Igor Chubin a5f3dfa9af
Merge pull request #122 from MFTabriz/master
add heaptrack
4 years ago
mtabriz e91221e728 add heaptrack 4 years ago
Igor Chubin fcfc96cbc7
Merge pull request #121 from uburuntu/patch-1
fix: missed space in python
4 years ago
Ramzan Bekbulatov 71e99697ac
fix: missed space in python 4 years ago
Igor Chubin 69071e734b
Merge pull request #119 from mcint/say
Say: whitespace sensitive argument fix
4 years ago
Loren McIntyre 0f2ce0a089 sheet/say: Escaping/quoting special shell character for help 4 years ago
Igor Chubin 4f947347a2
Merge pull request #120 from terminalforlife/master
Add New Files & Examples
4 years ago
terminalforlife 2ede22b157 Merge master branch from origin 4 years ago
terminalforlife 20a73754f0 Add basic parsing example for sensors(1) 4 years ago
terminalforlife 85446caec1 Add sensors file and a couple of examples 4 years ago
terminalforlife b8d100158b Add links2 with plenty of examples 4 years ago
terminalforlife 3962ef527d Add `scp` file and a couple of examples 4 years ago
terminalforlife 92f2025dcb Set to within the 80 column standard 4 years ago
terminalforlife d4b5e7f5dc Correct double-negative logic in Perl one-liner
Beforehand, it was only adding unnecessary confusion.

Either:

	CONDITION && COMMAND

OR:

	CONDITION || COMMAND

Never:

	! CONDITION && COMMAND
4 years ago
Igor Chubin b68f46b84d
Merge pull request #118 from terminalforlife/master
More Mostly-Presentational Tweaks
4 years ago
terminalforlife 4067afd054 Tweak htop & make clearer 4 years ago
terminalforlife 63b50cd14b Add official short description to chmod & tweak 4 years ago
terminalforlife 76665d60cc Correct scrot header & tweak remaining text 4 years ago
terminalforlife 1761844a54 Add header stuff to dict 4 years ago