File: mklogo

package info (click to toggle)
linuxlogo 5.11-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 856 kB
  • sloc: ansic: 3,165; sh: 370; makefile: 289; perl: 7
file content (25 lines) | stat: -rw-r--r-- 462 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash

#
# Ickle script to cobble together seperate logo and comment files.
# This makes it much easier to work with programs like duhdraw.
#
# Copyright 2003 Chris Brien <christopher_brien@hotmail.com> and
# distributed under the GPL.

if ! [[ $1 ]]; then
  echo "No name specified"
  exit 1
fi

(
  cat $1.comment
  echo
  echo BEGIN_LOGO
  cat $1-color.ansi
  echo END_LOGO
  echo
  echo BEGIN_ASCII_LOGO
  cat $1.ansi
  echo END_ASCII_LOGO
) > $1.logo