Warning: this is an htmlized version!
The original is across this link,
and the conversion rules are here.
#######
#
# E-scripts on basic Unix utilities.
#
# Note 1: use the eev command (defined in eev.el) and the
# ee alias (in my .zshrc) to execute parts of this file.
# Executing this file as a whole makes no sense.
# An introduction to eev can be found here:
#
#   (find-eev-quick-intro)
#   http://angg.twu.net/eev-intros/find-eev-quick-intro.html
#
# Note 2: be VERY careful and make sure you understand what
# you're doing.
#
# Note 3: If you use a shell other than zsh things like |&
# and the for loops may not work.
#
# Note 4: I always run as root.
#
# Note 5: some parts are too old and don't work anymore. Some
# never worked.
#
# Note 6: the definitions for the find-xxxfile commands are on my
# .emacs.
#
# Note 7: if you see a strange command check my .zshrc -- it may
# be defined there as a function or an alias.
#
# Note 8: the sections without dates are always older than the
# sections with dates.
#
# This file is at <http://angg.twu.net/e/unix.e>
#           or at <http://angg.twu.net/e/unix.e.html>.
#        See also <http://angg.twu.net/emacs.html>,
#                 <http://angg.twu.net/.emacs[.html]>,
#                 <http://angg.twu.net/.zshrc[.html]>,
#                 <http://angg.twu.net/escripts.html>,
#             and <http://angg.twu.net/>.
#
#######



# «.find»		(to "find")
# «.locate»		(to "locate")
# «.environment»	(to "environment")
# «.col»		(to "col")
# «.basename»		(to "basename")
# «.busybox»		(to "busybox")
# «.date»		(to "date")
# «.tar»		(to "tar")




#####
#
# find
# 2014jan14
#
#####

# «find» (to ".find")
# (find-node "(find)Top")
# (find-node "(find)Age Ranges" "-atime")
# (find-status   "findutils")
# (find-vldifile "findutils.list")
# (find-udfile   "findutils/")
# (find-es "bash" "redirection")

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
# (find-sh "find ~ -atime 0")
# (find-sh "find ~ -mmin 20")
# (find-sh "find /tmp -mmin 20")
# (find-sh "find /var -mmin -20")
# (find-sh "find /var -mmin -20 2> /dev/null")
# (find-sh "find ~    -mmin -20 2> /dev/null")



#####
#
# locate
# 2018nov14
#
#####

# «locate» (to ".locate")
# (find-sh "locate locate")
# (find-status   "locate")
# (find-vldifile "locate.list")
# (find-udfile   "locate/")
# (find-status   "findutils")
# (find-vldifile "findutils.list")
# (find-udfile   "findutils/")
# (find-node "(find)Invoking locate")




#####
#
# environment
# 2018nov14
#
#####

# «environment» (to ".environment")
# (find-node "(libc)Running a Command")
# (find-node "(libc)Program Basics")
# (find-node "(libc)Environment Variables")




#####
#
# col
# 2018nov19
#
#####

# «col» (to ".col")
# (find-status   "bsdmainutils")
# (find-vldifile "bsdmainutils.list")
# (find-udfile   "bsdmainutils/")
# (find-man "1 col")
# (find-man "1 colcrt")
# (find-man "1 calendar")
# (find-man "1 column")



#####
#
# basename
# 2018nov19
#
#####

# «basename» (to ".basename")
# (find-status   "coreutils")
# (find-vldifile "coreutils.list")
# (find-udfile   "coreutils/")
# (find-angggrep "grep --color -nH -e '$(' .zshrc")
# (find-man "1 basename")




#####
#
# What utils are in busybox?
# 2018nov19
#
#####

# «busybox» (to ".busybox")
# (find-es "busybox")

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
locate bin/busybox
/bin/busybox
busybox --list




#####
#
# date
# 2018nov19
#
#####

# «date» (to ".date")
# (find-angg ".emacs" "date")
# (find-status   "coreutils")
# (find-vldifile "coreutils.list")
# (find-udfile   "coreutils/")
# (find-man "1 date")
# (find-man "1 date" "-d, --date=STRING")
# (find-man "1 date" "%j" "day of year")
# (find-node "(coreutils)Date input formats")
# (find-node "(coreutils)Pure numbers in date strings")

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
date -d 20181101
date -d 2018-11-01
date -d 20181104
date -d 2018-11-04

* (eepitch-lua51)
* (eepitch-kill)
* (eepitch-lua51)
ndays = {31, 28, 31, 30, 31, 30,
         31, 31, 30, 31, 30, 31}
for month=1,12 do
  for day=1,ndays[month] do
    local date = format("2018%02d%02d", month, day)
    local yday = getoutput(format("date -d %s +%%j", date))
    local yday = split(yday)[1]
    print(date, yday)
  end
end

date -d 




#####
#
# tar
# 2019apr09
#
#####

# «tar» (to ".tar")
# (find-status   "tar-doc")
# (find-vldifile "tar-doc.list")
# (find-udfile   "tar-doc/")
# (find-node "(tar)Option Summary" "--strip-components=NUMBER")





#  Local Variables:
#  coding:               raw-text-unix
#  ee-delimiter-hash:    "\n#*\n"
#  ee-delimiter-percent: "\n%*\n"
#  ee-anchor-format:     "«%s»"
#  End: