searching the current working directory (c.w.d.): fd filename searching a certain directory, relative to c.w.d.: fd path filename searching a certain directory, absolute (beginning at "/"): fd /path filename searching for some content of some file in c.w.d.: fd "*" "content_text" same for partly known filenames where a certain text is suspected: fd "file*" "content_text"I.e. syntax is:
fd [ searchpath ] filename [ content ]If any parameter contains characters which the shell would expand to something else, the asterisk "*", blank spaces, etc, the parameter concerned should be quoted (enclosed in double quotes <">).
# ---- convert any radix' number, build & echo any radix result string ---- # dot "radix_in#number" radix_out # dot number radix_out # implies decimal input # dot number # implies decimal " & output # ---- < dot "36#MAUS" 16 > returns < fe074 > ---- function dot () { local num="$((${1}))" radix="$2" sign digit [ -z "${radix}" ]&&radix=10 result="" if [ $((num)) ];then [ "${num}" == "${num#*-}" ]||{ sign="-";num=${num#*-}; } while [ $((num)) ] do digit=$((num % radix)) num=$((num/radix)) [ $((${digit})) -gt $((9)) ]&&digit=$((digit+39)) result=$(echo -en "\x$(printf %x $(($digit+48)))")$result done result=$sign$result else result="0" fi echo echo $result }
--- drivers-video-fbcon.c Mon Feb 14 01:44:56 2000 +++ ../linux/drivers/video/fbcon.c Mon Feb 14 01:55:29 2000 @@ -431,7 +431,7 @@ unsigned short *save = NULL, *r, *q; int i, charcnt = 256; struct fbcon_font_desc *font; - + logo=0; /**//* disable that silly thing! .hpr 2/00 */ if (con != fg_console || (p->fb_info->flags & FBINFO_FLAG_MODULE) || p->type == FB_TYPE_TEXT) logo = 0;and
--- drivers-video-newport_con.c Mon Aug 9 19:04:40 1999 +++ ../linux/drivers/video/newport_con.c Mon Feb 14 01:57:25 2000 @@ -88,7 +89,7 @@ static inline void newport_show_logo(void) { unsigned long i; - + return; /**//* suppress that silly thing .hpr'2/00 */ for(i = 0; i < LINUX_LOGO_COLORS; i++) { newport_bfwait(); newport_cmap_setaddr(npregs, i + 0x20);