11.Nas_1


Rigolo/tv-grab-file



  • 첨부

  • 컨텐츠 정보


    본문


    Rigolo/tv-grab-file





    https://github.com/Rigolo/tv-grab-file/blob/master/tv_grab_file


    #!/bin/bash
    dflag=
    vflag=
    cflag=
    if (( $# < 1 ))
    then
    cat ~/.xmltv/tv_grab_file.xmltv
    exit 0
    fi
    for arg
    do
    delim=""
    case "$arg" in
    #translate --gnu-long-options to -g (short options)
    --description) args="${args}-d ";;
    --version) args="${args}-v ";;
    --capabilities) args="${args}-c ";;
    #pass through anything else
    *) [[ "${arg:0:1}" == "-" ]] || delim="\""
    args="${args}${delim}${arg}${delim} ";;
    esac
    done
    #Reset the positional parameters to the short options
    eval set -- $args
    while getopts "dvc" option
    do
    case $option in
    d) dflag=1;;
    v) vflag=1;;
    c) cflag=1;;
    \?) printf "unknown option: -%s\n" $OPTARG
    printf "Usage: %s: [--description] [--version] [--capabilities] \n" $(basename $0)
    exit 2
    ;;
    esac >&2
    done
    if [ "$dflag" ]
    then
    printf "tv_grab_file is a simple grabber that just read the ~/.xmltv/tv_grab_file.xmltv file\n"
    fi
    if [ "$vflag" ]
    then
    printf "0.1\n"
    fi
    if [ "$cflag" ]
    then
    printf "baseline\n"
    fi
    exit 0



    ◎ ■ ▶ ☞ ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다. https://11q.kr ♠

    뷰PDF add1,add2



    관련자료

    댓글 0
    등록된 댓글이 없습니다.


    전체 1,749 / 52 페이지
    전체 1,749 / 52 페이지



    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-05-18 11:38:14

    오늘의 홈 현황


    • 현재 접속자♨ 255 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 6 명
    • 주간 가입자※ 13 명
    • 오늘 방문자 1,449 명
    • 어제 방문자 1,667 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,329,461 명
    • 전체 게시물※ 8,574 개
    • 전체 댓글수※ 24,621 개
    • 전체 회원수 10,973 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑