File: pastel.diff

package info (click to toggle)
xsystem35 1.7.3-pre5-5
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 7,308 kB
  • ctags: 5,685
  • sloc: ansic: 51,002; sh: 11,898; asm: 863; makefile: 407; xml: 281; perl: 142
file content (17 lines) | stat: -rwxr-xr-x 255 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

if [ "$1" = "" ]; then 
	echo "pascha.diff targetfile"
	exit 1
fi

if [ ! -f "$1" ]; then
	echo "$1 not found"
	exit 1
fi
cp $1 $1.org
chmod u+w $1
echo 'G' | dd of=$1 ibs=1 obs=1 count=1 seek=7272 conv=notrunc
chmod u-w $1
echo "done!"
exit 0