代码搜索:BASH
找到约 5,321 项符合「BASH」的源代码
代码结果 5,321
www.eeworm.com/read/144212/5753012
bash fixfiles.bash
#! /bin/bash
#
# From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
# Newsgroups: comp.unix.shell,comp.os.linux.misc
# Subject: GNU Bash Script to fix filenames
# Date: 28 Mar 1996 14:54:43 -0800
# Organi
www.eeworm.com/read/144212/5753015
bash nohup.bash
#
# BASH VERSION OF nohup COMMAND
#
ctype()
{
path=$(builtin type -p $cmd | sed 1q)
if [ -n "$path" ]; then
echo "$path"
return 0
else
case "$cmd" in
*/*) [ -x "$cmd ] && { echo "$cmd" ; re
www.eeworm.com/read/144212/5753016
bash spin.bash
#!/bin/bash
#
# spin.bash -- provide a `spinning wheel' to show progress
#
# Chet Ramey
# chet@po.cwru.edu
#
bs=$'\b'
chars="|${bs} \\${bs} -${bs} /${bs}"
# Infinite loop for demo. purposes
while
www.eeworm.com/read/144212/5753022
bash showperm.bash
#Newsgroups: comp.unix.shell
#From: gwc@root.co.uk (Geoff Clare)
#Subject: Re: Determining permissions on a file
#Message-ID:
#Date: Fri, 10 May 1996 17:23:56 GMT
#Here's a bi
www.eeworm.com/read/144212/5753024
bash randomcard.bash
# The following prints a random card from a card deck.
#
# cribbed from the ksh93 book, example from page 70
#
# chet@po.cwru.edu
#
declare -i i=0
# load the deck
for suit in clubs diamonds hearts sp
www.eeworm.com/read/144212/5753026
bash krand.bash
# Originally
#
# From: bsh20858@news.fhda.edu (Brian S Hiles)
# Newsgroups: comp.unix.shell
# Subject: Re: getting random numbers
# Date: 23 Jan 1997 23:27:30 GMT
# Message-ID:
www.eeworm.com/read/144212/5753034
bash hanoi.bash
# Towers of Hanoi in bash
#
# cribbed from the ksh93 book, example from exercises on page 85
#
# Chet Ramey
# chet@po.cwru.edu
hanoi() # n from to spare
{
typeset -i nm1=$1-1
((nm1>0)) && han
www.eeworm.com/read/144212/5753036
bash meta.bash
# meta.bash --- meta key frobnications
# Author: Noah Friedman
# Created: 1992-06-28
# Last modified: 1993-01-26
# Public domain
# Commentary:
# Code:
#:docstring meta:
#
www.eeworm.com/read/144212/5753038
bash stty.bash
# stty.bash
# Author: Noah Friedman
# Created: 1992-01-11
# Last modified: 1993-09-29
# Public domain
# Conversion to bash v2 syntax done by Chet Ramey
# Commentary:
# Cod
www.eeworm.com/read/144212/5753039
bash mktmp.bash
# mktmp.bash
# Author: Noah Friedman
# Created: 1993-02-03
# Last modified: 1993-02-03
# Public domain
# Conversion to bash v2 syntax done by Chet Ramey
# Commentary:
# Co