Sponsored Content
Operating Systems OS X (Apple) (OSX) Capitalization using tr Post 90299 by scotbuff on Monday 21st of November 2005 12:16:41 PM
Old 11-21-2005
Use VI

Backup your file first. Then from terminal, vi the file

vi /users/yourid/novel.txt

Then type the following

:%s/[.!?]\_s\+\a/\U&\E/g
Hit enter

That should work for you. Then type :wq and press enter. Your file is edited and saved.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mac OSX vs. UNIX

To anyone that has the answer: What does UNIX have that Mac OSX doesn't. I am a programmer, and I am wondering if I could just get Mac OSX for my programming needs instead of UNIX. But my major question is what does UNIX have that Mac OSX doesn't. Thank you if you have the answer, and are willing... (2 Replies)
Discussion started by: REM
2 Replies

2. UNIX Desktop Questions & Answers

Mac Osx.2

I finally broke down and decided to buy a new piece of hardware. I think I made the right decision when I chose an Apple iBook - OSX is incredible! I haven't used a Mac since System7.5, and 10.2 is just blowing me away! Best of all, it's easy to use for people who are not used to Mac, but if I... (5 Replies)
Discussion started by: LivinFree
5 Replies

3. Shell Programming and Scripting

Changing capitalization

How would I go about taking a string, such as a name (first last) and changing the capitalization of the first letter of each name (First Last)? A script that I am using outputs a list of names in all lower case, and I need to process the whole list to a new outfile giving the new... (2 Replies)
Discussion started by: TheCrunge
2 Replies

4. Programming

multithreading on OSX

Hi all, I have a query about multithreading. What I would like to do is, at the start of my main update() function, start a couple of threads in parallel, once they are all complete carry on with my main update function. void update() { thread1->update(); // fluid solver ... (3 Replies)
Discussion started by: memoid
3 Replies

5. OS X (Apple)

Optimizing OSX

Hi forum, I'm administrating a workstation/server for my lab and I was wondering how to optimize OSX. I was wondering what unnecessary background tasks I could kick off the system so I free up as much memory and cpu power. Other optimization tips are also welcome (HD parameters, memory... (2 Replies)
Discussion started by: deiphon
2 Replies

6. OS X (Apple)

upgraded to OSX 10.6.6 - cannot sudo

I've been using "sudo" inside Terminal. I just upgraded to 10.6.6 and now "sudo" gives me incorrect password errors. My user is an admin user, so i can install etc on GUI but unable to do anything in terminal. 1. I did a repair permissions and restarted but cannot sudo. 2. i had an... (0 Replies)
Discussion started by: sentinel
0 Replies

7. Shell Programming and Scripting

simple Word Capitalization (Title) find/replace

Hi! I'm looking for a simple script, especially a one liner script in tcsh or bash that will emulate the find/replace in all text apps. I want to change all uppercase caracters to Title word (in wich only the first caracter is UpperCase and the rest is lowercase) I can use sed command, but... (2 Replies)
Discussion started by: sstpierre68
2 Replies

8. OS X (Apple)

OSX 10.7 and rsh

Hi Guys What do i need to change so that anyone can rsh into the machine, i am sure it is in the pam.d/rshd buti am hving and issue wiith it, at the moment only someone who has a pysical account on the machine can rsh in even with all the users in the passwd file it does not work ... (2 Replies)
Discussion started by: ab52
2 Replies

9. OS X (Apple)

OSX and Kerberos

Our Network Security folks have mandated that we "Kerberize" our systems to allow them to perform an authenticated scan. This consists of instructions to change /etc/pam.d/sshd from: # sshd: auth account password session auth optional pam_krb5.so use_kcminit auth optional ... (0 Replies)
Discussion started by: jnojr
0 Replies

10. OS X (Apple)

Osx terminal

hi all, first off thesis my first post so if i am not in the right forum, i apologize. i'm an absolute newbie to unix. i've been reading my books and studying my crib sheets etc. but... :/ i want to accomplish two things. 1. search and remove duplicate files i.e.. audio, doc alias etc.... (1 Reply)
Discussion started by: monkeyhateclean
1 Replies
QTADS(6)							   User Manuals 							  QTADS(6)

NAME
QTads - Multimedia interpreter for TADS games SYNOPSIS
qtads [ game-file ] DESCRIPTION
QTads is an interpreter that can run games written in TADS. TADS is a programming language written by Michael J. Roberts, designed to implement text-adventure games (Interactive Fiction), similar to those developed by Infocom in 1980-1990, as well as other companies (like Legend Entertainment, Level 9, etc). If you liked games like "Zork", "Adventure", "Trinity", or "Eric the Unready", you'll feel right at home. This version of QTads supports both TADS versions in use today; traditional TADS 2 as well as the new TADS 3 format. It runs on a variety of systems, including MS Windows and every Unix system for which the Qt library is available, including Linux and Mac OSX. OPTIONS
With no arguments, QTads will by default ask you for a filename, unless this prompting has been disabled in the configuration dialog. The optional filename can be used to start a game immediately. LICENSE
QTads is a Free program, dual-licensed under the GNU General Public License (GPL) as well as the HTML TADS Freeware Source Code License. See the file COPYING (included in the package of the program), or the "Help->About" menu for details. AUTHORS
This program is written and maintained by Nikos Chantziaras <realnc@gmail.com>. ACKNOWLEDGEMENTS
The reference implementation of the TADS VM was done by Mike Roberts. Several people helped making QTads a better program. See the file CREDITS or the "Help->About" menu for a list of names. SEE ALSO
frotz(6), inform(1) April 2010 QTADS(6)
All times are GMT -4. The time now is 04:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy