From 3cf76e9c7556c4ecb21dd3854c416635d9205d21 Mon Sep 17 00:00:00 2001 From: Alberto Donato Date: Mon, 5 Feb 2024 18:07:58 +0100 Subject: [PATCH] lints --- bin/make-filedisk | 4 +++- bin/pb | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/make-filedisk b/bin/make-filedisk index 0a43398..4ade06b 100755 --- a/bin/make-filedisk +++ b/bin/make-filedisk @@ -1,4 +1,6 @@ #!/bin/bash -e +# +# Create a file to be used as a block device. SCRIPT="$(basename "$0")" @@ -11,5 +13,5 @@ disk="$1" size="${2:-1024}" touch "$disk" -chattr +C "$disk" # ensure no COW is used +chattr +C "$disk" # ensure COW is not used dd if=/dev/zero of="$disk" bs="${size}k" count=1024 diff --git a/bin/pb b/bin/pb index 6978ef7..4ab6a17 100755 --- a/bin/pb +++ b/bin/pb @@ -1,6 +1,6 @@ #!/bin/bash -e # -# Pastebinit input and copies the resulting url to clipboard (if under tmux). +# Pastebin the input and copy the resulting URL to clipboard (if under tmux). # # Usage: | pb [pastebinit options...]