Guest User

Untitled

a guest
Apr 26th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. perl -petr/ -~//cd a.txt>b.txt
  2.  
  3. perl -i -petr/ -~//cd a.txt
  4.  
  5. #include<stdio.h>
  6. k;main(){FILE*f=fopen("a.txt","rb");FILE*g=fopen("b.txt","w");while(!feof(f))(k=getc(f))>31&&k<127&&putc(k,g);}
  7.  
  8. file("b.txt","w").write(filter(lambda x:'~'>=x>' ',file("a.txt").read()))
  9.  
  10. +[[->+>+<<]>>>++++++++[->++++++++++++<<---->]>--[<<[->]>[<]>-]<+<[[-]>-<]>[[-]<<.>>]<<[-]<,]
  11.  
  12. bf strip.bf < a.txt > b.txt
  13.  
  14. +[(->+>+)3>8+(->12+<<4-)>2-[<<[->]>[<]>-]<+<([-]>-)>([-]2<.)2<[-]<,]
  15.  
  16. Set in [c]: '1'
  17. Loop start ([c] of 1 to 999999999)
  18. Read from file 'a.txt' into [T] (read from [c], 1 bytes)
  19. Modify text '[T]' into [R] (code in Hex)
  20. Set in [N]: '&H[R]' (calculate)
  21. If True: '([N]=10)'
  22. Write into file 'b.txt' line '' (Append)
  23. End If
  24. If True: '([N]>31)&([N]<127)'
  25. Write into file 'b.txt' line '[T]' (Append, no linefeed)
  26. End If
  27. Loop end
  28.  
  29. (gc -raw a.txt) -replace"[^ -x7e]","">b.txt
  30.  
  31. (gc -raw a.txt) -replace"[^ -x7e]","">a.txt
  32.  
  33. IO.write (f="a.txt"),IO.read(f).gsub(/p{Cntrl}/,'')
  34.  
  35. [^ -~]
Add Comment
Please, Sign In to add comment