This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function trap_sigint() { | |
echo -n "酒場" | |
echo "" | |
echo "$(( i / 2 )) Beer and Gyoza." | |
if [ $(( i % 2 )) -eq 0 ]; then | |
echo "帰宅成功" | |
else | |
echo "帰宅失敗" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function returndata($item){ | |
$info['ISBN'] = $item->Items->Item->ItemAttributes->EAN; | |
$info['Title'] = $item->Items->Item->ItemAttributes->Title; | |
$info['Author'] = $item->Items->Item->ItemAttributes->Author; | |
$info['Creator'] = $item->Items->Item->ItemAttributes->Creator; | |
$info['Binding'] = $item->Items->Item->ItemAttributes->Binding; | |
$info['Publ_date'] = $item->Items->Item->ItemAttributes->PublicationDate; | |
$info['Publisher'] = $item->Items->Item->ItemAttributes->Publisher; | |
$info['Price'] = $item->Items->Item->ItemAttributes->ListPrice->Amount; | |