This seems to be the syntax which is easy for me to figure out cause I am an old hacker! What I don't get is the perl part of itSORT [/R] [/+n] [[drive1:][path1]filename1] [> [drive2:][path2]filena +me2] [command |] SORT [/R] [/+n] [> [drive2:][path2]filename2]
This spews all kinds of computer generated errors....#!/usr/bin/perl use strict; OPEN "filename"/n"; COUNT |||||| #this counts spaces over in the list SORT /R #this sorts my data
I know this is pretty technical but if anyone out there could offer some tips ..I am not trying to "compile" anything either so these errors don't make much sense to meBareword "COUNT" not allowed while "strict subs" in use at ./order.pl +line 5. syntax error at ./ray.pl line 5, near "||||" Bareword "SORT" not allowed while "strict subs" in use at ./order.pl l +ine 6. Bareword "R" not allowed while "strict subs" in use at ./order.pl line + 6. Execution of ./ray.pl aborted due to compilation errors. Bareword "OPEN" not allowed while "strict subs" in use at ./order.pl l +ine 5. String found where operator expected at ./order.pl line 5, near "OPEN +"filename"" (Do you need to predeclare OPEN?) syntax error at ./order.pl line 5, near "OPEN "filename"" Bareword "n" not allowed while "strict subs" in use at ./order.pl line + 5. String found where operator expected at ./order.pl line 5, at end of l +ine (Missing semicolon on previous line?) Can't find string terminator '"' anywhere before EOF at ./order.pl lin +e 5.
Unconsidered for reap - Votes: Keep: 11, Edit: 0, Reap: 9
In reply to question about ordering technical data numbers by Kevin_Raymer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |