Skip to content

Commit

Permalink
Update 360_generate_dasd_format_code.sh
Browse files Browse the repository at this point in the history
Use TextPrefix '# '
  • Loading branch information
jsmeix committed Feb 27, 2024
1 parent 1c047d9 commit 9688568
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ echo '#!/bin/bash' >"$DASD_FORMAT_CODE"
# (in particular it shows the Linux device name <-> virtual device number mapping,
# formatted / unformatted status and the number/size of blocks when formatted )
echo "# Current output of 'lsdasd':" >>"$DASD_FORMAT_CODE"
lsdasd | sed -e 's/^/# /' >>"$DASD_FORMAT_CODE"
lsdasd | TextPrefix '# ' >>"$DASD_FORMAT_CODE"

cat <<EOF >>"$DASD_FORMAT_CODE"
Expand Down

0 comments on commit 9688568

Please sign in to comment.