To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
To LUGNET News Traffic PageSign In (Members)
 Off-Topic / *38784 (-10)
  Re: TXT-file question
 
(...) There may be some batch commands you can use, but I'm not sure offhand-- I used to be somewhat of a whiz with Windows NT batch (1), but it's been a while... not to mention that I know Windows 95/98 didn't have the same functionality for "for" (...) (22 years ago, 18-Dec-02, to lugnet.off-topic.geek)
 
  Re: TXT-file question
 
(...) try textpad (IMO the best text editor for the win-systems). you can download a version at www.textpad.com. there is a feature in the find-replace dialog where you can replace text in mulitple files at once. -chris (22 years ago, 18-Dec-02, to lugnet.off-topic.geek)
 
  Re: TXT-file question
 
(...) I'm on a pretty straightforward XP 98 system, alas. Maybe I should just pay some neighborhood kids to do it for me... Thank you for the input, though. Dave! (22 years ago, 18-Dec-02, to lugnet.off-topic.geek)
 
  Re: TXT-file question
 
(...) or, if you have perl (windows or unix), you can do this: perl -i.bak -p -e 's/ABCS/WXYZ/g' *.txt which will create a backup (file.txt.bak) before changing all 'ABCD' to 'WXYZ'. :) Dan (22 years ago, 18-Dec-02, to lugnet.off-topic.geek)
 
  Re: IGNORANT views fuel oppression?
 
In lugnet.off-topic.debate, Scott Arthur writes: <snip> (...) Thanks for the clarification. I read your above comment as a different issue than the comment posted below-- (...) Your first comment--in a general sense, arguements have strengths and (...) (22 years ago, 18-Dec-02, to lugnet.off-topic.debate)
 
  Re: TXT-file question
 
(...) Are you on windows? (if so I don't know) or on UNIX/linux? If you're on UNIX or linus you could use sed. Somethign like: (this is untested so YMMV) for FILE in *.txt; do if sed 's/ABCD/WXYZ/g' < $FILE >$FILE.new; then mv $FILE.new $FILE else (...) (22 years ago, 18-Dec-02, to lugnet.off-topic.geek)
 
  TXT-file question
 
Hello all: I have a bunch of text files, each of which contains a character sequence (say, ABCD) that I need to change (say, to WXYZ). The character sequence is within the body of each file, rather than the title. Is there an easy method of swapping (...) (22 years ago, 18-Dec-02, to lugnet.off-topic.geek)
 
  Re: IGNORANT views fuel oppression?
 
(...) I said: ==+== Many arguments have a weakness. Readers may respond where "think they sense weakness". This may not be where the weakness actually lies.” ==+== Do you need an example? (...) off-topic. (...) I have no idea. But why go to the (...) (22 years ago, 18-Dec-02, to lugnet.off-topic.debate)
 
  Re: stopping topics vs. dealing with troublemakers and nonconstructive participants
 
(...) It was not a total troll post. Feel free to show that it was. (...) Yes I did. It is better to admit than not. (...) The apology was acceptable. But your criticism of Larry for the same seems hypocritcal. (...) The victims were people who (...) (22 years ago, 18-Dec-02, to lugnet.off-topic.debate)
 
  Re: stopping topics vs. dealing with troublemakers and nonconstructive participants
 
(...) Obviously, I'm look at this from a different perspective. (...) You've not answered my question. (...) Indeed. Did I not apologise? Was my apology not good enough for you? (...) Given that shoplifting is a crime with a victim, I'm not sure (...) (22 years ago, 18-Dec-02, to lugnet.off-topic.debate)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR