1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/lang/ferite/files/patch-scripts::test::test.fe
Pav Lucistnik 1a24cd790f - Update to 1.0.0
- Take maintainership

PR:		ports/87695
Submitted by:	Frank Laszlo <laszlof@vonostingroup.com>
2005-10-21 22:37:29 +00:00

23 lines
1.1 KiB
Plaintext

--- scripts/test/test.fe.orig Wed Jan 5 08:36:10 2005
+++ scripts/test/test.fe Wed Oct 19 19:41:02 2005
@@ -17,16 +17,16 @@
a_global_int = 10;
- Console.println( "Printing Out All ext3 Partitions in /etc/fstab" );
+ Console.println( "Printing Out All ufs Partitions in /etc/fstab" );
testfile = File.open( "/etc/fstab" );
Console.println( "Here." );
while( (blam = testfile.readln()) )
{
- object reg1 = new Regexp( '(\/dev\/[hs]d[a-g][1-9]) # device entry
+ object reg1 = new Regexp( '(\/dev\/[adw][ad][0-9][0-9]?s?[1-4]?[a-h]) # device entry
[\ \t]* # whitespace
(\/[a-z]*(\/[a-z]*)*) # mount point
[\ \t]* # whitespace
- ext3 # force adherance to ext3', 'xoi' );
+ ufs # force adherance to ufs', 'xoi' );
object reg2 = new Regexp( "[^ \t]+", "" );
if( reg1.match( blam ) )