3 ms·
Well... if it's about complex scripting, you have Python or Perl whose are standard, well integrated, lightweight, powerfull and preinstalled on Linux. If it's
by Toniglandyl 6y ago
Well... if it's about complex scripting, you have Python or Perl whose are standard, well integrated, lightweight, powerfull and preinstalled on Linux.
If it's for a day to day usage as a shell, bash / fish / zsh... are more concise and faster.
The example given on the article :
# Get all file modified in the last 3 days
Get-ChildItem -Path path -Recurse | Where-Object {
$_.LastWriteTime -gt (Get-Date).AddDays(-3)
}
Is just:
find path -mtime 3
in bash ...
The object thing is nice, but using strings as output is universal.