#!/bin/sh
# Lids [dir] pattern...
#
# This packages a most common use of find(1) into
# a command that hunts for file names matching the
# pattern, and sorts them by inode number.

if [ $# -lt 1 ];then set '*'; fi
if [ -d "$1" ];then 
	d=$1
	shift
else	d=.
fi
for	p
do	find $d -name "$p" 2>/dev/null | xargs ls -plid | sort -n
#	| align r l r l l r l r l 
done 
