
maybe seppe can solder together a cirquitboard into which you can input your sequence and it would output your stripped one! On Fri, 18 Jul 2008, Michiel Van Bel wrote:
Here is the haskell-version:
main: do x <- readFile "file.txt"; //replace by actual filename :) x <- take(length x, drop n) s //replace n by length putStr x
Then redirect output to a new file.
Kenny Billiau wrote:
I want a punch card for a PDP 7!
http://en.wikipedia.org/wiki/PDP-7
On Fri, 18 Jul 2008, Elisabeth Wischnitzki wrote:
No, but you can have it in python or sml...
Sofie Van Landeghem wrote:
cobol, anyone?
Michiel Van Bel wrote:
Now, in x86 assembly:
... nevermind :) > Sebastian Proost wrote: in perl > > while(<STDIN>) { my $out = substring $_,n; #repalce n by actual number print $out; } > > or something like that > > > > Ward Blondé wrote: > > > > > > > I have no problems with VI, but I don't understand the answer: the > > > number n doesn't occur in it!? > > > > Ward > > > > > > > Sofie Van Landeghem wrote: > > Oh, gaan we in VI beginnen, ik doe alles in java hoor :p > > > > > > Kenny Billiau wrote: > > > In VI you can do: > > > > > > > > <esc>gg<ctrl+v>Gd > > > > > > > > > > > > > the sequences between <> are key you have to press .. :) > > > > > > > > On Fri, 18 Jul 2008, Ward Blondé wrote: > > > > > > > > > > > > > > > > > > > > > Hoi Binaries, > > > > > > > > > > Does anyone know a nice method to strip the first n characters > > > > > > away from every line in a file? > > > > > > > > > > Ward >>>> _______________________________________________ > > > > Binari Is Not A Regular Island > > > > Binari@psb.ugent.be > > > > https://maillist.psb.ugent.be/mailman/listinfo/binari > > > > > > > > > > > > > > > > > > > >
> > > > > > > > >>> _______________________________________________ > > > Binari Is Not A Regular Island > > > Binari@psb.ugent.be > > > https://maillist.psb.ugent.be/mailman/listinfo/binari > > > > > > > > > > > > > > > > > > >
------------------------------------------------------------------------
_______________________________________________ Binari Is Not A Regular Island Binari@psb.ugent.be https://maillist.psb.ugent.be/mailman/listinfo/binari
--