Search Results

Search: Posts Made By: kcgb20
8,517
Posted By kcgb20
qsub in a bash script?
I was just wondering if it is permissible to qsub from a bash script as follows:

#! /bin/sh

echo "altering .txt in dir $DIR with retokenize.py"
for f in $DIR/txt/*.txt; do
echo $f;
...
Forum: Programming 06-18-2010
15,913
Posted By kcgb20
Thanks. That makes a lot more sense and will work...
Thanks. That makes a lot more sense and will work a lot better than the vector.
Appreciate it!
Forum: Programming 06-18-2010
15,913
Posted By kcgb20
Well, this is basically just trying out creating...
Well, this is basically just trying out creating a map with a vector value. This code isn't supposed to read in a file... it is supposed to read in entered sentences until a user types in "end"...
Forum: Programming 06-18-2010
15,913
Posted By kcgb20
C++ Map using a Vector as a Value Type?
I modified some code I found on Wikipedia concerning maps to see if it would work before applying it to a project I'm working on that has a similar idea.
What I would want is for a user to be able...
3,859
Posted By kcgb20
1. If every character in a line is uppercase, the...
1. If every character in a line is uppercase, the characters in this line need to be converted to lower case.
2. The only instance where this won't happen is if there is punctuation between...
3,859
Posted By kcgb20
Change Uppercase to Lowercase with some exceptions
I need to change instances of uppercase to lowercase. The change occurs only when all of the characters are capital letters.
For instance, if the following was contained in the file: THE BRIGHT DAY...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 07:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy