dtas.git  about / heads / tags
duct tape audio suite for *nix
blob e8ebd66308028d9ff9b743fce9869e6417981250 378 bytes (raw)
$ git show v0.0.0:bin/dtas-enq	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
#!/usr/bin/env ruby
# -*- encoding: binary -*-
# Copyright (C) 2013, Eric Wong <normalperson@yhbt.net>
# License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
require 'dtas/unix_client'
c = DTAS::UNIXClient.new

ARGV.each do |path|
  # Unix paths are encoding agnostic
  path = File.expand_path(path.b)
  res = c.req_ok(%W(enq #{path}))
  puts "#{path} #{res}"
end

git clone git://80x24.org/dtas.git
git clone https://80x24.org/dtas.git