view bin/quotenums @ 10305:503b67656c89

<shachaf> ` >bin/edit echo \'#!/usr/bin/env python\'; >>bin/edit echo \'import sys, urllib\'; >>bin/edit echo \'print "http://slbkbs.org:5196/edit?path=" + urllib.quote(sys.argv[1])\'; chmod +x bin/edit
author HackBot
date Fri, 17 Feb 2017 04:29:20 +0000
parents fe8f574b561c
children 4db5a8cfee37
line wrap: on
line source

#!/bin/sh
grep -P -i -n "$1" quotes | cut -d : -f 1 | xargs