From f627682ca5c69f1a2f8f997b00991eb921901af0 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 16 Nov 2019 23:59:04 +0100 Subject: Better sed --- joes-arch-install-UEFI.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'joes-arch-install-UEFI.sh') diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh index e7a919b..0d2254c 100755 --- a/joes-arch-install-UEFI.sh +++ b/joes-arch-install-UEFI.sh @@ -351,7 +351,7 @@ echo "# #" echo "#=================================#" echo && echo dd if=/dev/zero of="$drv" bs=512 count=1 -sed -e 's/\s*\([\+0-9a-zA-Z \"=#()[]{}<>,:. - \_\/?!@$%^&~`*|]*\).*/\1/' << FDISK_INPUT | fdisk "$drv" +sed -e 's/\s*\([\+0-9a-zA-Z]*\).*/\1/' << FDISK_INPUT | fdisk "$drv" o # create a new DOS partition table n # new partition (/dev/sdx1) p # primary -- cgit v1.2.3