Bug#753573: parted: please allow to read script commands from stdin or a file

2014-07-19 Thread Colin Watson
On Sun, Jul 20, 2014 at 12:58:12AM +0100, Colin Watson wrote: > Does it help to know (as I don't think it's well-documented) In fact I now see that this is documented in "info parted", under "Running Parted". So I think you can safely rely on this. -- Colin Watson

Bug#753573: parted: please allow to read script commands from stdin or a file

2014-07-19 Thread Colin Watson
On Thu, Jul 03, 2014 at 10:31:02AM +0200, Enrico Zini wrote: > I currently have this in a deploy script: > > DISK=`find_disk` > while read -r cmd; do parted -s -a optimal $DISK $cmd; done < commands.txt > > that while loop works around parted only accepting script commands on > the command li

Bug#753573: parted: please allow to read script commands from stdin or a file

2014-07-03 Thread Enrico Zini
Package: parted Version: 2.3-20 Severity: wishlist Hello, thank you for packaging parted. I currently have this in a deploy script: DISK=`find_disk` while read -r cmd; do parted -s -a optimal $DISK $cmd; done < commands.txt that while loop works around parted only accepting script commands