### Open ved with online help Source: https://context7.com/schilytools/schilytools/llms.txt Start the ved editor with its integrated online help system activated. ```bash ved -vhelp ``` -------------------------------- ### Complete CD Burn Workflow with mkisofs and cdrecord Source: https://context7.com/schilytools/schilytools/llms.txt This example demonstrates a common workflow: creating an ISO image with `mkisofs` and then burning it to a CD using `cdrecord`. The `&&` ensures `cdrecord` runs only if `mkisofs` succeeds. ```bash # Create a complete CD burn workflow mkisofs -r -J -o /tmp/backup.iso /home/user/documents && \ cdrecord -v -eject /tmp/backup.iso ``` -------------------------------- ### Get cdrecord Device Help Source: https://context7.com/schilytools/schilytools/llms.txt Retrieve detailed help and a list of available targets for `cdrecord` by using `dev=help`. This is useful for understanding device naming conventions. ```bash # Get device help and list available targets cdrecord dev=help ``` -------------------------------- ### Execute prt with various flag combinations Source: https://github.com/schilytools/schilytools/blob/master/sccs/tests/cssctests/prt/SCCS/s.all-variations.txt These commands demonstrate the usage of the prt utility with different combinations of flags applied to s.testfile2. Each example includes an echo statement for logging the command being executed. ```bash echo '${prt}' -b -d -e -i -u s.testfile2 ${prt} -b -d -e -i -u s.testfile2 ``` ```bash echo '${prt}' -b -d -e -i -t s.testfile2 ${prt} -b -d -e -i -t s.testfile2 ``` ```bash echo '${prt}' -b -d -e -i -t -u s.testfile2 ${prt} -b -d -e -i -t -u s.testfile2 ``` ```bash echo '${prt}' -b -d -e -f s.testfile2 ${prt} -b -d -e -f s.testfile2 ``` ```bash echo '${prt}' -b -d -e -f -u s.testfile2 ${prt} -b -d -e -f -u s.testfile2 ``` ```bash echo '${prt}' -b -d -e -f -t s.testfile2 ${prt} -b -d -e -f -t s.testfile2 ``` ```bash echo '${prt}' -b -d -e -f -t -u s.testfile2 ${prt} -b -d -e -f -t -u s.testfile2 ``` ```bash echo '${prt}' -b -d -e -f -i s.testfile2 ${prt} -b -d -e -f -i s.testfile2 ``` ```bash echo '${prt}' -b -d -e -f -i -u s.testfile2 ${prt} -b -d -e -f -i -u s.testfile2 ``` ```bash echo '${prt}' -b -d -e -f -i -t s.testfile2 ${prt} -b -d -e -f -i -t s.testfile2 ``` ```bash echo '${prt}' -b -d -e -f -i -t -u s.testfile2 ${prt} -b -d -e -f -i -t -u s.testfile2 ``` ```bash echo '${prt}' -a s.testfile2 ${prt} -a s.testfile2 ``` ```bash echo '${prt}' -a -u s.testfile2 ${prt} -a -u s.testfile2 ``` ```bash echo '${prt}' -a -t s.testfile2 ${prt} -a -t s.testfile2 ``` ```bash echo '${prt}' -a -t -u s.testfile2 ${prt} -a -t -u s.testfile2 ``` ```bash echo '${prt}' -a -s s.testfile2 ${prt} -a -s s.testfile2 ``` ```bash echo '${prt}' -a -s -u s.testfile2 ${prt} -a -s -u s.testfile2 ``` ```bash echo '${prt}' -a -s -t s.testfile2 ${prt} -a -s -t s.testfile2 ``` ```bash echo '${prt}' -a -s -t -u s.testfile2 ${prt} -a -s -t -u s.testfile2 ``` ```bash echo '${prt}' -a -i s.testfile2 ${prt} -a -i s.testfile2 ``` ```bash echo '${prt}' -a -i -u s.testfile2 ${prt} -a -i -u s.testfile2 ``` ```bash echo '${prt}' -a -i -t s.testfile2 ${prt} -a -i -t s.testfile2 ``` ```bash echo '${prt}' -a -i -t -u s.testfile2 ${prt} -a -i -t -u s.testfile2 ``` ```bash echo '${prt}' -a -f s.testfile2 ${prt} -a -f s.testfile2 ``` ```bash echo '${prt}' -a -f -u s.testfile2 ${prt} -a -f -u s.testfile2 ``` ```bash echo '${prt}' -a -f -t s.testfile2 ${prt} -a -f -t s.testfile2 ``` ```bash echo '${prt}' -a -f -t -u s.testfile2 ${prt} -a -f -t -u s.testfile2 ``` ```bash echo '${prt}' -a -f -s s.testfile2 ${prt} -a -f -s s.testfile2 ``` ```bash echo '${prt}' -a -f -s -u s.testfile2 ${prt} -a -f -s -u s.testfile2 ``` ```bash echo '${prt}' -a -f -s -t s.testfile2 ${prt} -a -f -s -t s.testfile2 ``` ```bash echo '${prt}' -a -f -s -t -u s.testfile2 ${prt} -a -f -s -t -u s.testfile2 ``` ```bash echo '${prt}' -a -f -i s.testfile2 ${prt} -a -f -i s.testfile2 ``` ```bash echo '${prt}' -a -f -i -u s.testfile2 ${prt} -a -f -i -u s.testfile2 ``` ```bash echo '${prt}' -a -f -i -t s.testfile2 ${prt} -a -f -i -t s.testfile2 ``` ```bash echo '${prt}' -a -f -i -t -u s.testfile2 ${prt} -a -f -i -t -u s.testfile2 ``` ```bash echo '${prt}' -a -e s.testfile2 ${prt} -a -e s.testfile2 ``` ```bash echo '${prt}' -a -e -u s.testfile2 ${prt} -a -e -u s.testfile2 ``` ```bash echo '${prt}' -a -e -t s.testfile2 ${prt} -a -e -t s.testfile2 ``` ```bash echo '${prt}' -a -e -t -u s.testfile2 ${prt} -a -e -t -u s.testfile2 ``` ```bash echo '${prt}' -a -e -i s.testfile2 ${prt} -a -e -i s.testfile2 ``` ```bash echo '${prt}' -a -e -i -u s.testfile2 ${prt} -a -e -i -u s.testfile2 ``` ```bash echo '${prt}' -a -e -i -t s.testfile2 ${prt} -a -e -i -t s.testfile2 ``` ```bash echo '${prt}' -a -e -i -t -u s.testfile2 ${prt} -a -e -i -t -u s.testfile2 ``` ```bash echo '${prt}' -a -e -f s.testfile2 ${prt} -a -e -f s.testfile2 ``` ```bash echo '${prt}' -a -e -f -u s.testfile2 ${prt} -a -e -f -u s.testfile2 ``` ```bash echo '${prt}' -a -e -f -t s.testfile2 ${prt} -a -e -f -t s.testfile2 ``` ```bash echo '${prt}' -a -e -f -t -u s.testfile2 ${prt} -a -e -f -t -u s.testfile2 ``` ```bash echo '${prt}' -a -e -f -i s.testfile2 ${prt} -a -e -f -i s.testfile2 ``` ```bash echo '${prt}' -a -e -f -i -u s.testfile2 ${prt} -a -e -f -i -u s.testfile2 ``` ```bash echo '${prt}' -a -e -f -i -t s.testfile2 ${prt} -a -e -f -i -t s.testfile2 ``` ```bash echo '${prt}' -a -e -f -i -t -u s.testfile2 ${prt} -a -e -f -i -t -u s.testfile2 ``` ```bash echo '${prt}' -a -d s.testfile2 ${prt} -a -d s.testfile2 ``` ```bash echo '${prt}' -a -d -u s.testfile2 ${prt} -a -d -u s.testfile2 ``` ```bash echo '${prt}' -a -d -t s.testfile2 ${prt} -a -d -t s.testfile2 ``` ```bash echo '${prt}' -a -d -t -u s.testfile2 ${prt} -a -d -t -u s.testfile2 ``` ```bash echo '${prt}' -a -d -s s.testfile2 ${prt} -a -d -s s.testfile2 ``` ```bash echo '${prt}' -a -d -s -u s.testfile2 ${prt} -a -d -s -u s.testfile2 ``` ```bash echo '${prt}' -a -d -s -t s.testfile2 ${prt} -a -d -s -t s.testfile2 ``` ```bash echo '${prt}' -a -d -s -t -u s.testfile2 ${prt} -a -d -s -t -u s.testfile2 ``` ```bash echo '${prt}' -a -d -i s.testfile2 ${prt} -a -d -i s.testfile2 ``` ```bash echo '${prt}' -a -d -i -u s.testfile2 ${prt} -a -d -i -u s.testfile2 ``` ```bash echo '${prt}' -a -d -i -t s.testfile2 ${prt} -a -d -i -t s.testfile2 ``` ```bash echo '${prt}' -a -d -i -t -u s.testfile2 ${prt} -a -d -i -t -u s.testfile2 ``` ```bash echo '${prt}' -a -d -f s.testfile2 ${prt} -a -d -f s.testfile2 ``` ```bash echo '${prt}' -a -d -f -u s.testfile2 ${prt} -a -d -f -u s.testfile2 ``` ```bash echo '${prt}' -a -d -f -t s.testfile2 ${prt} -a -d -f -t s.testfile2 ``` ```bash echo '${prt}' -a -d -f -t -u s.testfile2 ${prt} -a -d -f -t -u s.testfile2 ``` ```bash echo '${prt}' -a -d -f -s s.testfile2 ${prt} -a -d -f -s s.testfile2 ``` ```bash echo '${prt}' -a -d -f -s -u s.testfile2 ${prt} -a -d -f -s -u s.testfile2 ``` ```bash echo '${prt}' -a -d -f -s -t s.testfile2 ${prt} -a -d -f -s -t s.testfile2 ``` ```bash echo '${prt}' -a -d -f -s -t -u s.testfile2 ${prt} -a -d -f -s -t -u s.testfile2 ``` ```bash echo '${prt}' -a -d -f -i s.testfile2 ${prt} -a -d -f -i s.testfile2 ``` ```bash echo '${prt}' -a -d -f -i -u s.testfile2 ${prt} -a -d -f -i -u s.testfile2 ``` -------------------------------- ### Copy from tape with large blocks using sdd Source: https://context7.com/schilytools/schilytools/llms.txt Example of copying data from a tape device, specifying a large input block size. ```bash sdd if=/dev/rmt/0 of=backup.tar ibs=64k ``` -------------------------------- ### Remote copy with sdd Source: https://context7.com/schilytools/schilytools/llms.txt Perform a copy operation between a local and a remote machine. Requires 'suid root' installation on the remote host. ```bash sdd if=user@host:/path/to/file of=local.dat ``` -------------------------------- ### Create Bootable ISO Image with mkisofs Source: https://context7.com/schilytools/schilytools/llms.txt Construct a bootable ISO image using `mkisofs` with El Torito boot information. This requires specifying the boot image file and related parameters. ```bash # Create a bootable ISO image (El Torito) mkisofs -r -J -b boot/grub/stage2_eltorito \ -no-emul-boot -boot-load-size 4 -boot-info-table \ -o bootable.iso /path/to/bootable/tree ``` -------------------------------- ### Skip and seek with sdd Source: https://context7.com/schilytools/schilytools/llms.txt Control the starting position for input (iseek) and output (oseek) operations, similar to dd. ```bash sdd if=input.dat of=output.dat iseek=100 oseek=200 ``` -------------------------------- ### Build Products with MMS or MMK Source: https://github.com/schilytools/schilytools/blob/master/vms/vms_notes.txt Standard commands to set the default directory and initiate the build process. ```DCL SET DEFAULT [.VMS] MMS ``` -------------------------------- ### Create Multi-Session ISO with mkisofs Source: https://context7.com/schilytools/schilytools/llms.txt Prepare an ISO image for appending data to an existing disc using `mkisofs -M` and `cdrecord -msinfo`. This is essential for multi-session optical media. ```bash # Create a multi-session ISO (for appending to existing disc) mkisofs -r -J -C $(cdrecord -msinfo dev=1,0,0) \ -M /dev/cdrom -o session2.iso /new/data ``` -------------------------------- ### Create Basic ISO Image with mkisofs Source: https://context7.com/schilytools/schilytools/llms.txt Generate a standard ISO-9660 filesystem image from a directory using `mkisofs -o output.iso /path/to/directory`. This is the simplest way to create an ISO. ```bash # Create a basic ISO image from a directory mkisofs -o output.iso /path/to/directory ``` -------------------------------- ### Get CD Information with cdda2wav Source: https://context7.com/schilytools/schilytools/llms.txt Retrieve CD table of contents (TOC) and other metadata without extracting audio using `cdda2wav -J -v toc`. This is useful for inspecting disc structure. ```bash # Get CD information without extracting cdda2wav -J -v toc ``` -------------------------------- ### On-the-Fly ISO Creation and Burning with mkisofs and cdrecord Source: https://context7.com/schilytools/schilytools/llms.txt Pipe the output of `mkisofs` directly to `cdrecord` for efficient, on-the-fly ISO image creation and burning. This avoids creating an intermediate ISO file. ```bash # Pipe directly to cdrecord for on-the-fly burning mkisofs -r -J /path/to/data | cdrecord -v dev=1,0,0 - ``` -------------------------------- ### Convert manual page with templates Source: https://github.com/schilytools/schilytools/blob/master/RULES/rules.htm Rules for converting manual pages to HTML while wrapping them in custom pre and post HTML templates. ```makefile $(MANFILE).html: $(MANFILE) soelim $(MANFILE) | tbl | nroff -rh1 -u1 -Tlp -man - | col -x | \ (sed -e 's/XXX/$(MANFILE)/g' $(SRCROOT)/conf/pre.html; \ man2html -cgiurl '../man$$section$$subsection/$$title.$$section$$subsection.html' -compress -nodepage; \ cat $(SRCROOT)/conf/post.html) | \ egrep -v 'HTML|BODY'> $(MANFILE).html ``` ```makefile $(MANFILE).dhtml: $(MANFILE) soelim $(MANFILE) | tbl | nroff -rh1 -u1 -Tlp -mdoc - | col -x | \ (sed -e 's/XXX/$(MANFILE)/g' $(SRCROOT)/conf/pre.html; \ man2html -cgiurl '../man$$section$$subsection/$$title.$$section$$subsection.html' -compress -nodepage; \ cat $(SRCROOT)/conf/post.html) | \ egrep -v 'HTML|BODY'> $(MANFILE).html ``` ```makefile htmlx: $(MANFILE) soelim $(MANFILE) | tbl | nroff -rh1 -u1 -Tlp -man - | col -x | \ (sed -e 's/XXX/$(MANFILE)/g' $(SRCROOT)/conf/pre.html; \ man2html -cgiurl '$$title.$$section.html' -compress -nodepage; \ cat $(SRCROOT)/conf/post.html) | \ egrep -v 'HTML|BODY'> $(MANFILE).html ``` -------------------------------- ### Create ISO with Joliet Extensions using mkisofs Source: https://context7.com/schilytools/schilytools/llms.txt Generate an ISO image compatible with Windows long filenames using `mkisofs -J`. This ensures proper naming for files when the ISO is used on Windows systems. ```bash # Create ISO with Joliet extensions (Windows long filenames) mkisofs -J -o output.iso /path/to/directory ``` -------------------------------- ### Create ISO with Rock Ridge Extensions using mkisofs Source: https://context7.com/schilytools/schilytools/llms.txt Create an ISO image that preserves Unix file permissions and attributes using `mkisofs -r`. The `-r` option enables Rock Ridge extensions. ```bash # Create ISO with Rock Ridge extensions (preserves Unix permissions) mkisofs -r -o output.iso /path/to/directory ``` -------------------------------- ### Create ISO with Rock Ridge and Joliet Extensions using mkisofs Source: https://context7.com/schilytools/schilytools/llms.txt Combine Rock Ridge and Joliet extensions for maximum compatibility using `mkisofs -r -J`. This creates an ISO that supports Unix permissions and Windows long filenames. ```bash # Create ISO with both Rock Ridge and Joliet mkisofs -r -J -o output.iso /path/to/directory ``` -------------------------------- ### Using prt for file operations Source: https://github.com/schilytools/schilytools/blob/master/sccs/tests/cssctests/prt/SCCS/s.all-variations.txt Demonstrates various options for the 'prt' command, including different flags for encoding, formatting, and output control when processing 's.testfile2'. ```shell echo '${prt}' -d -e -f -i s.testfile2 ${prt} -d -e -f -i s.testfile2 ``` ```shell echo '${prt}' -d -e -f -i -u s.testfile2 ${prt} -d -e -f -i -u s.testfile2 ``` ```shell echo '${prt}' -d -e -f -i -t s.testfile2 ${prt} -d -e -f -i -t s.testfile2 ``` ```shell echo '${prt}' -d -e -f -i -t -u s.testfile2 ${prt} -d -e -f -i -t -u s.testfile2 ``` ```shell echo '${prt}' -b s.testfile2 ${prt} -b s.testfile2 ``` ```shell echo '${prt}' -b -u s.testfile2 ${prt} -b -u s.testfile2 ``` ```shell echo '${prt}' -b -t s.testfile2 ${prt} -b -t s.testfile2 ``` ```shell echo '${prt}' -b -t -u s.testfile2 ${prt} -b -t -u s.testfile2 ``` ```shell echo '${prt}' -b -s s.testfile2 ${prt} -b -s s.testfile2 ``` ```shell echo '${prt}' -b -s -u s.testfile2 ${prt} -b -s -u s.testfile2 ``` ```shell echo '${prt}' -b -s -t s.testfile2 ${prt} -b -s -t s.testfile2 ``` ```shell echo '${prt}' -b -s -t -u s.testfile2 ${prt} -b -s -t -u s.testfile2 ``` ```shell echo '${prt}' -b -i s.testfile2 ${prt} -b -i s.testfile2 ``` ```shell echo '${prt}' -b -i -u s.testfile2 ${prt} -b -i -u s.testfile2 ``` ```shell echo '${prt}' -b -i -t s.testfile2 ${prt} -b -i -t s.testfile2 ``` ```shell echo '${prt}' -b -i -t -u s.testfile2 ${prt} -b -i -t -u s.testfile2 ``` ```shell echo '${prt}' -b -f s.testfile2 ${prt} -b -f s.testfile2 ``` ```shell echo '${prt}' -b -f -u s.testfile2 ${prt} -b -f -u s.testfile2 ``` ```shell echo '${prt}' -b -f -t s.testfile2 ${prt} -b -f -t s.testfile2 ``` ```shell echo '${prt}' -b -f -t -u s.testfile2 ${prt} -b -f -t -u s.testfile2 ``` ```shell echo '${prt}' -b -f -s s.testfile2 ${prt} -b -f -s s.testfile2 ``` ```shell echo '${prt}' -b -f -s -u s.testfile2 ${prt} -b -f -s -u s.testfile2 ``` ```shell echo '${prt}' -b -f -s -t s.testfile2 ${prt} -b -f -s -t s.testfile2 ``` ```shell echo '${prt}' -b -f -s -t -u s.testfile2 ${prt} -b -f -s -t -u s.testfile2 ``` ```shell echo '${prt}' -b -f -i s.testfile2 ${prt} -b -f -i s.testfile2 ``` ```shell echo '${prt}' -b -f -i -u s.testfile2 ${prt} -b -f -i -u s.testfile2 ``` ```shell echo '${prt}' -b -f -i -t s.testfile2 ${prt} -b -f -i -t s.testfile2 ``` ```shell echo '${prt}' -b -f -i -t -u s.testfile2 ${prt} -b -f -i -t -u s.testfile2 ``` ```shell echo '${prt}' -b -e s.testfile2 ${prt} -b -e s.testfile2 ``` ```shell echo '${prt}' -b -e -u s.testfile2 ${prt} -b -e -u s.testfile2 ``` ```shell echo '${prt}' -b -e -t s.testfile2 ${prt} -b -e -t s.testfile2 ``` ```shell echo '${prt}' -b -e -t -u s.testfile2 ${prt} -b -e -t -u s.testfile2 ``` ```shell echo '${prt}' -b -e -i s.testfile2 ${prt} -b -e -i s.testfile2 ``` ```shell echo '${prt}' -b -e -i -u s.testfile2 ${prt} -b -e -i -u s.testfile2 ``` ```shell echo '${prt}' -b -e -i -t s.testfile2 ${prt} -b -e -i -t s.testfile2 ``` ```shell echo '${prt}' -b -e -i -t -u s.testfile2 ${prt} -b -e -i -t -u s.testfile2 ``` ```shell echo '${prt}' -b -e -f s.testfile2 ${prt} -b -e -f s.testfile2 ``` ```shell echo '${prt}' -b -e -f -u s.testfile2 ${prt} -b -e -f -u s.testfile2 ``` ```shell echo '${prt}' -b -e -f -t s.testfile2 ${prt} -b -e -f -t s.testfile2 ``` ```shell echo '${prt}' -b -e -f -t -u s.testfile2 ${prt} -b -e -f -t -u s.testfile2 ``` ```shell echo '${prt}' -b -e -f -i s.testfile2 ${prt} -b -e -f -i s.testfile2 ``` ```shell echo '${prt}' -b -e -f -i -u s.testfile2 ${prt} -b -e -f -i -u s.testfile2 ``` ```shell echo '${prt}' -b -e -f -i -t s.testfile2 ${prt} -b -e -f -i -t s.testfile2 ``` ```shell echo '${prt}' -b -e -f -i -t -u s.testfile2 ${prt} -b -e -f -i -t -u s.testfile2 ``` ```shell echo '${prt}' -b -d s.testfile2 ${prt} -b -d s.testfile2 ``` ```shell echo '${prt}' -b -d -u s.testfile2 ${prt} -b -d -u s.testfile2 ``` ```shell echo '${prt}' -b -d -t s.testfile2 ${prt} -b -d -t s.testfile2 ``` ```shell echo '${prt}' -b -d -t -u s.testfile2 ${prt} -b -d -t -u s.testfile2 ``` ```shell echo '${prt}' -b -d -s s.testfile2 ${prt} -b -d -s s.testfile2 ``` ```shell echo '${prt}' -b -d -s -u s.testfile2 ${prt} -b -d -s -u s.testfile2 ``` ```shell echo '${prt}' -b -d -s -t s.testfile2 ${prt} -b -d -s -t s.testfile2 ``` ```shell echo '${prt}' -b -d -s -t -u s.testfile2 ${prt} -b -d -s -t -u s.testfile2 ``` ```shell echo '${prt}' -b -d -i s.testfile2 ${prt} -b -d -i s.testfile2 ``` ```shell echo '${prt}' -b -d -i -u s.testfile2 ${prt} -b -d -i -u s.testfile2 ``` ```shell echo '${prt}' -b -d -i -t s.testfile2 ${prt} -b -d -i -t s.testfile2 ``` ```shell echo '${prt}' -b -d -i -t -u s.testfile2 ${prt} -b -d -i -t -u s.testfile2 ``` ```shell echo '${prt}' -b -d -f s.testfile2 ${prt} -b -d -f s.testfile2 ``` ```shell echo '${prt}' -b -d -f -u s.testfile2 ${prt} -b -d -f -u s.testfile2 ``` ```shell echo '${prt}' -b -d -f -t s.testfile2 ${prt} -b -d -f -t s.testfile2 ``` ```shell echo '${prt}' -b -d -f -t -u s.testfile2 ${prt} -b -d -f -t -u s.testfile2 ``` ```shell echo '${prt}' -b -d -f -s s.testfile2 ${prt} -b -d -f -s s.testfile2 ``` ```shell echo '${prt}' -b -d -f -s -u s.testfile2 ${prt} -b -d -f -s -u s.testfile2 ``` ```shell echo '${prt}' -b -d -f -s -t s.testfile2 ${prt} -b -d -f -s -t s.testfile2 ``` ```shell echo '${prt}' -b -d -f -s -t -u s.testfile2 ${prt} -b -d -f -s -t -u s.testfile2 ``` ```shell echo '${prt}' -b -d -f -i s.testfile2 ${prt} -b -d -f -i s.testfile2 ``` ```shell echo '${prt}' -b -d -f -i -u s.testfile2 ${prt} -b -d -f -i -u s.testfile2 ``` ```shell echo '${prt}' -b -d -f -i -t s.testfile2 ${prt} -b -d -f -i -t s.testfile2 ``` ```shell echo '${prt}' -b -d -f -i -t -u s.testfile2 ${prt} -b -d -f -i -t -u s.testfile2 ``` ```shell echo '${prt}' -b -d -e s.testfile2 ${prt} -b -d -e s.testfile2 ``` ```shell echo '${prt}' -b -d -e -u s.testfile2 ${prt} -b -d -e -u s.testfile2 ``` ```shell echo '${prt}' -b -d -e -t s.testfile2 ${prt} -b -d -e -t s.testfile2 ``` ```shell echo '${prt}' -b -d -e -t -u s.testfile2 ${prt} -b -d -e -t -u s.testfile2 ``` ```shell echo '${prt}' -b -d -e -i s.testfile2 ${prt} -b -d -e -i s.testfile2 ``` -------------------------------- ### Build automation with smake Source: https://context7.com/schilytools/schilytools/llms.txt Portable make utility for managing build processes, supporting parallel builds and custom compiler configurations. ```bash smake smake all smake NOECHO= smake clean smake install smake INS_BASE=/usr/local install smake -n smake -f SMakefile smake CCOM=gcc smake CCOM=gcc64 smake COPTX=-g LDOPTX=-g smake DEFAULTSDIR=DEFAULTS_ENG smake tests smake .help smake ARCH=armv5 OSNAME=linux CCOM=gcc ``` -------------------------------- ### Apply patch with backup of originals using patch Source: https://context7.com/schilytools/schilytools/llms.txt Create backup copies of original files before applying the patch by using the -b option. ```bash patch -b < changes.patch ``` -------------------------------- ### Copy file with default settings using sdd Source: https://context7.com/schilytools/schilytools/llms.txt Basic file copy operation using sdd with input and output files specified. ```bash sdd if=input.dat of=output.dat ``` -------------------------------- ### Preview ISO Contents with mkisofs Source: https://context7.com/schilytools/schilytools/llms.txt Use `mkisofs -print-size` to display the estimated size and contents of an ISO image without actually creating the file. This helps in planning disc space. ```bash # Show what would be included without creating image mkisofs -print-size /path/to/directory ``` -------------------------------- ### Copy disk image with sdd Source: https://context7.com/schilytools/schilytools/llms.txt Create a disk image by copying data from a block device to a file, using a specified block size. ```bash sdd if=/dev/sda of=disk.img bs=4M ``` -------------------------------- ### Convert manual page to HTML Source: https://github.com/schilytools/schilytools/blob/master/RULES/rules.htm Standard rule to convert a manual page to a basic HTML file. ```makefile html: $(MANFILE) soelim $(MANFILE) | tbl | nroff -rh1 -u1 -Tlp -man - | col -x | \ man2html -cgiurl '$$title.$$section.html' -compress -nodepage \ > $(MANFILE).html ``` -------------------------------- ### Common MMS Build Targets and Options Source: https://github.com/schilytools/schilytools/blob/master/vms/vms_notes.txt Commands for cleaning build artifacts and enabling specific features like large file support. ```DCL MMS CLEAN MMS CLEAN_ALL MMS CLEAN_EXE MMS CLEAN_OLB MMS /MACRO = (LIST=1) MMS /MACRO = (LARGE=1) ```