代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/350504/3124912
3 sigrot.3
#!/bin/bash
# sigrot.sh
# Version 3.0
# Rotate signatures
# Suitable to be run via cron
#############################
sigfile=signature
old=$(cat num)
let new=$(expr $old+1)
if [ -f $si
www.eeworm.com/read/268146/4257135
ltypes
#!/bin/bash
if[$
# -ne 1 ]
then echo "usage: Ltypes filename" > &2 exit 2 fi FILE = "$1"
#TMPFILE='mktemp "${FILE}.XXXXXX"' || exit 1
TMPFILE = $ {
FILE}
. ` date "+%s" ` touch $TMPFILE
www.eeworm.com/read/264095/4294951
mkd
#!/bin/bash
#
# mkd -- a script to create the device special files for the PARIDE subsystem
#
# block devices: pd (45), pcd (46), pf (47)
# character devices: pt (96), pg (97)
#
function mkdev {
www.eeworm.com/read/253336/4398471
tests invert.tests
# tests of return value inversion
# placeholder for future expansion
# user subshells (...) did this wrong in bash versions before 2.04
! ( echo hello | grep h >/dev/null 2>&1 ); echo $?
! echo hell
www.eeworm.com/read/252498/4404286
sh parsepairtest.sh
#!/bin/bash
#
MACHINE=$(uname).$(uname -m)
if [ -x ./bin.debug.${MACHINE} ]
then
echo -e " ./bin.debug.${MACHINE}/ParsePairTest"
./bin.debug.${MACHINE}/ParsePairTest
if [ $? -eq 0 ]; t
www.eeworm.com/read/161559/5551358
sh restoredata.sh
#!/bin/bash
#
# This script restores data from a previously generated database dump.
# The database should be empty (no data, only table definitions) prior
# to the restore operation. Use dumpdata.sh
www.eeworm.com/read/161121/5558590
mkd
#!/bin/bash
#
# mkd -- a script to create the device special files for the PARIDE subsystem
#
# block devices: pd (45), pcd (46), pf (47)
# character devices: pt (96), pg (97)
#
function mkdev {
www.eeworm.com/read/268797/11121289
inc dbg-file.inc
# Things related to file handling.
#
# Copyright (C) 2002, 2003, 2004, 2006 Rocky Bernstein
# rockyb@users.sourceforge.net
#
# Bash is free software; you can redistribute it and/or modify it un
www.eeworm.com/read/268797/11121293
inc dbg-pre.inc
# dbg-pre.inc - Bourne Again Shell Debugger Global Variables
# Copyright (C) 2002, 2003, 2004 Rocky Bernstein
#
# Bash is free software; you can redistribute it and/or modify it under
# the term
www.eeworm.com/read/268797/11121305
in dbg-pre.inc.in
# dbg-pre.inc - Bourne Again Shell Debugger Global Variables
# Copyright (C) 2002, 2003, 2004 Rocky Bernstein
#
# Bash is free software; you can redistribute it and/or modify it under
# the term