代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/16793/691638
h posixstat.h
/* posixstat.h -- Posix stat(2) definitions for systems that
don't have them. */
/* Copyright (C) 1987,1991 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell
www.eeworm.com/read/16793/691708
c print_cmd.c
/* print_command -- A way to make readable commands from a command tree. */
/* Copyright (C) 1989-2010 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
Ba
www.eeworm.com/read/35675/1059604
todebug
#!/bin/bash
# Scriptname: todebug
name="Joe Shmoe"
if [[ $name == "Joe Blow" ]]
then
printf "Hello $name\n"
fi
declare -i num=1
while (( num < 5 ))
do
let num+=1
done
printf "The total
www.eeworm.com/read/35675/1059619
sayit
#!/bin/bash
# Scriptname: sayit
echo Type q to quit.
go=start
while [ -n "$go" ] # Make sure to double quote the variable
do
echo -n I love you.
read word
if [[ $word == [Qq] ]]
www.eeworm.com/read/35675/1059642
quiz
#!/bin/bash
# Scriptname: quiz
echo "Who was the 2nd U.S. president to be impeached?"
read answer
while [[ "$answer" != "Bill Clinton" ]]
do
echo "Wrong try again!"
read answer
done
echo You
www.eeworm.com/read/35675/1059649
07 example13.07
# Systemwide functions and aliases
# Environment stuff goes in /etc/profile
# For some unknown reason bash refuses to inherit
# PS1 in some circumstances that I can't figure out.
# Putting PS1 here
www.eeworm.com/read/466392/1511217
sh airoscfunc_external.sh
#!/bin/bash
# Unstable functions file for airoscript.
# Requires: wlandecrypter
# By David Francos (XayOn)
echo -e "\tExternal functions from airoscript loaded,\n\tif you don't wa
www.eeworm.com/read/250731/4427497
sh mktarball.sh
#!/usr/bin/env bash
if [ -z "$1" ]; then
echo Must have destination tarball name as argument
exit 1
fi
TARBALL="$1"
BUILD_ROOT=~/tmp/NAVBUILD
_prefix=/usr/local/nav
# Clear stuff out of the
www.eeworm.com/read/250731/4427545
in eventengine.in
#!/usr/bin/env bash
####################
#
# $Id: eventengine.in 2013 2003-11-14 13:05:11Z mortenv $
# This file is part of the NAV project.
# This script controls start/stop/status of the NAV eventEn
www.eeworm.com/read/250731/4427634
in getdevicedata.in
#!/usr/bin/env bash
####################
#
# $Id: getDeviceData.in 2013 2003-11-14 13:05:11Z mortenv $
# This file is part of the NAV project.
# This script controls start/stop/status of the NAV getDe