Re: [dev] snotes v0.9 - a simple notes system

From: Chris Down <chris_AT_chrisdown.name>
Date: Mon, 4 Feb 2013 17:09:48 +0800

Since this issue cropped up I figured I might as well take a quick look at
the script. There are two other things that might be worth changing after a
quick skim:

- Not sure what's up with all the ''[ -n "`which foo`" ]'' idioms. Use
''type'' and just check the exit code.
- Instead of escaping in heredocs, you can just use 'EOF' instead of EOF.

Chris

On 4 February 2013 17:04, Chris Down <chris_AT_chrisdown.name> wrote:

> Use ''.'' instead of ''source'', it's POSIX.
>
> Chris
>
>
> On 4 February 2013 16:56, Thomas Dean <78abc_AT_web.de> wrote:
>
>> Great tool, thank you!
>>
>> One thing to mention: sh links to dash in my case, which has no built-in
>> "source" command. Is there a standalone substitute?
>>
>> TD
>>
>>
>>
>
Received on Mon Feb 04 2013 - 10:09:48 CET

This archive was generated by hypermail 2.3.0 : Mon Feb 04 2013 - 10:12:09 CET