summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-09-19--ignore-configs broke --service. Fix.Bo Ørsted Andresen
2007-09-19Die if sed, xclip or whoami fails. Make sure converttoraw() returns 1 if ↵Bo Ørsted Andresen
RAWURL ends up being empty. Die if any attempt to source a config file fails.
2007-09-19Oops.Bo Ørsted Andresen
2007-09-19Use -u rather than -T for --tinyurl.Bo Ørsted Andresen
2007-09-19Add support for tinyurl.Bo Ørsted Andresen
2007-09-19Minor.Bo Ørsted Andresen
2007-09-19Move INFO_COMMAND too.Bo Ørsted Andresen
2007-09-19Major reordering of functions. No changes to functionality.Bo Ørsted Andresen
2007-09-19Add support for --ignore-configs.Bo Ørsted Andresen
2007-09-19Renames: get_from_clipboard() -> x_cut(), add_to_clipboard() -> x_paste().Bo Ørsted Andresen
2007-09-19Collapse two almost identical error messages into one.Bo Ørsted Andresen
2007-09-19Oops.Bo Ørsted Andresen
2007-09-19Add support for tee to show what's being pasted while it's being generated.Bo Ørsted Andresen
2007-09-16Bail on unreadble input file even when there is only one input file. ;) Use ↵Bo Ørsted Andresen
a function in postdata(). Move showurl(). Fix a lot of comments. Catch stderr from $INFO_COMMAND.
2007-09-16Add N=$'\n' and E=$'\e' as global variables and use them whereever possible.Bo Ørsted Andresen
2007-09-16When listing services, languages or expirations add an asterisk in front of ↵Bo Ørsted Andresen
the default.
2007-09-14Add default get_from_clipboard() and add_to_clipboard().Bo Ørsted Andresen
2007-09-14Use percentage sign rather than underscore for spaces of empty fields.Bo Ørsted Andresen
2007-09-08Remove unnecessary quoting.Bo Ørsted Andresen
2007-09-08Kill every invocation of eval. This means that configuration variables for ↵Bo Ørsted Andresen
services and engines etc. can no longer be arrays. Instead they are now lists of strings separated by spaces and using underscores as spaces in each item. At the same time they have been renamed to increase consistency and reduce complexity.
2007-06-19Fix version.Bo Ørsted Andresen
2007-06-19Convert some 'echo "$foo" | blah' to 'blah <<< "$foo"'.Bo Ørsted Andresen
2007-06-03Oops.Bo Ørsted Andresen
2007-06-03Minimize what goes through eval (fixes a bug where eval claims the syntax in ↵Bo Ørsted Andresen
a ruby script is invalid when it's not supposed to evaluate it at all). Don't spawn subsheels for no reason. Remove single quotes from comments (screws over the syntax highlighting in vim).
2007-05-16Remove a lot of double quotes and curly brackets where they are unnecessary. ↵Bo Ørsted Andresen
Also fix some quoting with eval's where they might be required.
2007-05-14Use LC_ALL instead of LC_MESSAGES. If the user has LC_ALL set that overrides ↵Bo Ørsted Andresen
LC_MESSAGES so it fails with a non-english locale.
2007-04-25Add detection of toobig.html to verifyurl(). Add max lines check for rafb in ↵Bo Ørsted Andresen
warnsize().
2007-04-09Add that configs can be in {,/*.bash} too..Bo Ørsted Andresen
2007-04-09Set @VERSION@ as version.Bo Ørsted Andresen
2007-04-09Fix detection of ${VERBOSE}.Bo Ørsted Andresen
2007-04-09Use LC_MESSAGES=C for wget.Bo Ørsted Andresen
2007-04-04Simplify postdata() a bit.Bo Ørsted Andresen
2007-04-03Collapse on more [[ ]] || [[ ]].Bo Ørsted Andresen
2007-04-03Convert '=true' to '=0'. Remove a few more quotes and collapse [[ .. ]] && ↵Bo Ørsted Andresen
[[ .. ]] to [[ .. && .. ]].
2007-04-03Remove some underscored. ;)Bo Ørsted Andresen
2007-04-03Remove a lot of useless quoting in [[ ]]. Those aren't subjected to word ↵Bo Ørsted Andresen
splitting anyway.
2007-03-22Get rid of print(). It wastes too much space for no good reason. cat <<EOF ↵Bo Ørsted Andresen
is much more compact. Also replace 1>&2 with >&2.
2007-03-21Move the --debug handling to the first argement pass.Bo Ørsted Andresen
2007-03-21Allow /etc/wgetpaste and ~/.wgetpaste to be directories populated with ↵Bo Ørsted Andresen
*.bash files.
2007-03-21Fix verify count. Sort list of services.Bo Ørsted Andresen
2007-03-20Stop using fail() as it's broken and fixing it doesn't make sense anymore.Bo Ørsted Andresen
2007-03-20Fix verify_url() for the case when both ${KNOWN} and ${URL} are empty.Bo Ørsted Andresen
2007-03-20Only use indexes in for loops when they are actually needed.Bo Ørsted Andresen
2007-03-20Get rid of header(), show_languages() and show_expiration_options(). show() ↵Bo Ørsted Andresen
is usable for all of them.
2007-03-20Don't evaluate more than necessary in warn_size().Bo Ørsted Andresen
2007-03-20Oops.Bo Ørsted Andresen
2007-03-20Make more vars local where they should be. Move verify(). Rename ↵Bo Ørsted Andresen
show_usage() to usage(). Rename show_url() to showurl(). Add a few more comments.
2007-03-20Reverse ${service}_REGEX arrays.Bo Ørsted Andresen
2007-03-20Fix --list-services. Add support for showing the engine of each service with ↵Bo Ørsted Andresen
--list-services --verbose.
2007-03-20Add engine to each ${service} array and use ENGINE instead of SERVICE. This ↵Bo Ørsted Andresen
allows a user to very easily specify a different url while using the same engine.