Search Results

Search: Posts Made By: yodadbl07
5,448
Posted By yodadbl07
libra% tr -cs '[:alnum:]' '[\n*]' < testfile.txt...
libra% tr -cs '[:alnum:]' '[\n*]' < testfile.txt | sort -u | wc -l
165
vs.
libra% tr -d '.:"(),-' < testfile.txt | tr '[A-Z]' '[a-z]' | tr ' ' '\n' | sort | uniq | wc -l
159

what...
5,448
Posted By yodadbl07
Ok this is the output im getting, why is the echo...
Ok this is the output im getting, why is the echo statement messed up.
Please enter a filename:
testfile.txt
words.ou, your file has 239 words and 159

heres the code:

#!/bin/csh

echo...
5,448
Posted By yodadbl07
oh yah duh!! lol
oh yah duh!! lol
5,448
Posted By yodadbl07
i want the user to be able to input the filename,...
i want the user to be able to input the filename, then run the command on that filename
5,448
Posted By yodadbl07
ok i was working with the first idea. here is...
ok i was working with the first idea. here is what i have so far. but for some reason this is not working, the command works but i think there is a problem with the input.

#!/bin/csh

echo...
5,448
Posted By yodadbl07
oh i see, i didnt know about the uniq command,...
oh i see, i didnt know about the uniq command, thanks a lot!
5,448
Posted By yodadbl07
question about wc
Hey my friend was asking me if i knew a way to cout how many different words in a file. I told him no not off hand, but i was thinking about it, and i started to wonder also. I imagine this is...
8,200
Posted By yodadbl07
Ecclesiastes thanks bro
Ecclesiastes thanks bro
8,200
Posted By yodadbl07
how to list directories only
I would like to know how to list directories only without a / at the end. I would like to only see them in my current dir.

for example

ls - d */ gives

dir1/ dir2/ dir3/ dir4/

but is...
1,610
Posted By yodadbl07
yes i have thought about this but i want it to...
yes i have thought about this but i want it to only count the files in my current directory not recursivly through every file.
1,610
Posted By yodadbl07
help with grep
Never mind thanks I got it
Showing results 1 to 11 of 11

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