File: sxmo_edit_screen.sh

package info (click to toggle)
sxmo-utils 1.14.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 6,016 kB
  • sloc: sh: 9,166; ansic: 117; makefile: 68
file content (8 lines) | stat: -rwxr-xr-x 234 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/bin/sh
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2022 Sxmo Contributors
tmpfile=$(mktemp /tmp/st-edit.XXXXXX)
trap  'rm "$tmpfile"' 0 1 15
cat > "$tmpfile"
# shellcheck disable=SC2086
sxmo_terminal.sh $EDITOR "$tmpfile"