File: bash%2B.swim

package info (click to toggle)
git-subrepo 0.4.9-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,552 kB
  • sloc: sh: 7,074; makefile: 273; perl: 226
file content (61 lines) | stat: -rw-r--r-- 1,006 bytes parent folder | download | duplicates (4)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Bash+(1)
========

Modern Bash Programming

<badge travis ingydotnet/bashplus>

= Synopsis

  source bash+ :std :array

  use Foo::Bar this that

  Array.new args "$@"

  if args.empty?; then
    die "I need args!"
  fi

  Foo::Bar.new foo args

  this is awesome     # <= this is a real command! (You just imported it)

= Description

Bash+ is just Bash... *plus* some libraries that can make Bash programming a
lot nicer.

## Installation

Get the source code from GitHub:

  git clone git@github.com:ingydotnet/bashplus

Then run:

  make test
  make install        # Possibly with 'sudo'

= Usage

For now look at some libraries the use Bash+:

* https://github.com/ingydotnet/git-hub
* https://github.com/ingydotnet/json-bash
* https://github.com/ingydotnet/test-more-bash

= Status

If you are interested in chatting about this, `/join #bpan` on
irc.freenode.net.

= Author

Written by Ingy döt Net <ingy@ingy.net>

= Copyright & License

Copyright 2013-2020. Ingy döt Net.

The MIT License (MIT).