代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/407756/2258891
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/407756/2258914
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/407519/2262829
sh install.sh
#!/bin/bash
prefix=${1:-"/usr/local/trilinos"}
echo "Install Trilinos 8.0.3 in $prefix"
builddir=$(mktemp -d /tmp/trilinosbuild.XXXX)
cd $builddir
curl -O http://trilinos.sandia.gov/download/files
www.eeworm.com/read/398634/2374502
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/398200/2383606
tcl heapgen.tcl
#!/bin/bash
# restart using a Tcl shell \
exec sh -c 'for tclshell in tclsh tclsh83 cygtclsh80 ; do \
( echo | $tclshell ) 2> /dev/null && exec $tclshell "`( cygpath -w \"$0\" ) 2> /de
www.eeworm.com/read/398200/2385089
tcl file2c.tcl
#!/bin/bash
# restart using a Tcl shell \
exec sh -c 'for tclshell in tclsh tclsh83 cygtclsh80 ; do \
( echo | $tclshell ) 2> /dev/null && exec $tclshell "`( cygpath -w \"$0\" ) 2> /de
www.eeworm.com/read/398200/2391243
tcl slow_cat.tcl
#!/bin/bash
# restart using a Tcl shell \
exec sh -c 'for tclshell in tclsh tclsh83 cygtclsh80 ; do \
( echo | $tclshell ) 2> /dev/null && exec $tclshell "`( cygpath -w \"$0\" ) 2> /de
www.eeworm.com/read/398200/2391244
tcl swap4.tcl
#!/bin/bash
# restart using a Tcl shell \
exec sh -c 'for tclshell in tclsh tclsh83 cygtclsh80 ; do \
( echo | $tclshell ) 2> /dev/null && exec $tclshell "`( cygpath -w \"$0\" ) 2> /de
www.eeworm.com/read/398200/2393515
tcl flash_cksum.tcl
#!/bin/bash
# restart using a Tcl shell \
exec sh -c 'for tclshell in tclsh tclsh83 cygtclsh80 ; do \
( echo | $tclshell ) 2> /dev/null && exec $tclshell "`( cygpath -w \"$0\" ) 2> /de
www.eeworm.com/read/398200/2393556
tcl flash_cksum.tcl
#!/bin/bash
# restart using a Tcl shell \
exec sh -c 'for tclshell in tclsh tclsh83 cygtclsh80 ; do \
( echo | $tclshell ) 2> /dev/null && exec $tclshell "`( cygpath -w \"$0\" ) 2> /de