item.txt 154 B

12345678
  1. #!/bin/sh
  2. template() {
  3. content1=$(echo "$1" | head -n1 | cut -d ';' -f5-)
  4. content2=$(echo "$1" | tail -n+2)
  5. printf '%s\n%s' "$content1" "$content2"
  6. }