04-10-2016
Any attempts/ideas/thoughts from your side?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have a name file in Unix for example : ABC_TODAYFirst.001 and I want just capture or display the 3 first letters so : ABC.
I tried with cut -c,1-3 and the name but it displays the 3 first letters of all lines.
Can you help , Thanks a lot (8 Replies)
Discussion started by: steiner
8 Replies
2. Shell Programming and Scripting
hi guys, I know this might be very simple for u but not for me.
I simply want to print the active users, changeing the first letter in their names to capital. i guess sed it's useful but don't know how to find the correspondign capital letter and don't know how to change just the first... (16 Replies)
Discussion started by: atticus
16 Replies
3. Shell Programming and Scripting
Hello All
I need to extract words which are of even number of letters and not greater than 10.
Any help??
Thanks,
Manish (3 Replies)
Discussion started by: manish205
3 Replies
4. Shell Programming and Scripting
hello,
i 'd like your help about a bash script which:
1. finds inside the html file (it is attached with my post) the code number of the Latest Stable Kernel,
2.finds the link which leads to the download location of the Latest Stable Kernel version,
(the right link should lead to the file... (3 Replies)
Discussion started by: alex83
3 Replies
5. Shell Programming and Scripting
Hello,
I am interested in finding out whether someone has a perl or awk script which takes a set of letters such as wak and referring to a dictionary spews out all possible forms such as awk, kaw etc.
If someone has such a script, could it be put up please. The script should handle Unicode.
Many... (0 Replies)
Discussion started by: gimley
0 Replies
6. Shell Programming and Scripting
Hello Guys,
I am writing a script which check each line for how many Uppercase and Lowercase letter of a given file. Please check my script as follow:
l=0
while read line
do
echo Line `expr $l + 1` has ` tr -cd "" < $line | wc -c` uppercase letters and
`tr -cd "" < $line | wc -c`... (3 Replies)
Discussion started by: kasparov
3 Replies
7. UNIX for Dummies Questions & Answers
Hi buddies ! I need some help with one grep command :) I have this table:
1 Petras Pavardenis 1980 5
08 Linas Bajoriunas 1970 10
3 Saulius Matikaitis 1982 2
5 Mindaugas Stulgis 1990... (1 Reply)
Discussion started by: vaidastf
1 Replies
8. Shell Programming and Scripting
Hi All!
can anyone help me with this code?
I want to count words or letters in every line with
if(count>20){else echo $myline}
awk '/<script /{p=1} /<\/script>/{p=0; next}!p' index.html | while read myline; do
echo $myline
done
Thank you !!! (3 Replies)
Discussion started by: sanantonio7777
3 Replies
9. Shell Programming and Scripting
I am making a word game and I am wondering how to find and arrange words in a list that have the same letters. In my game, you are presented with 5 letters, and you then have to rearrange the letters tp make a word. So the word could be "acorn", but those 5 letters could also make up "narco" or... (2 Replies)
Discussion started by: hellobard
2 Replies
10. UNIX for Dummies Questions & Answers
I have text with upper and lower case words. I want to find something and replace it with something new. But it should match the case - Meaning - it should replace old upper cased word with NEW upper case word and lower with lower.
example:
this text is very simple TEXT.
now I want to replace... (5 Replies)
Discussion started by: grep_me
5 Replies
BOGGLE(6) Games Manual BOGGLE(6)
NAME
boggle - play the game of boggle
SYNOPSIS
/usr/games/boggle [ + ] [ ++ ]
DESCRIPTION
This program is intended for people wishing to sharpen their skills at Boggle (TM Parker Bros.). If you invoke the program with 4 argu-
ments of 4 letters each, (e.g. "boggle appl epie moth erhd") the program forms the obvious Boggle grid and lists all the words from
/usr/dict/words found therein. If you invoke the program without arguments, it will generate a board for you, let you enter words for 3
minutes, and then tell you how well you did relative to /usr/dict/words.
The object of Boggle is to find, within 3 minutes, as many words as possible in a 4 by 4 grid of letters. Words may be formed from any
sequence of 3 or more adjacent letters in the grid. The letters may join horizontally, vertically, or diagonally. However, no position in
the grid may be used more than once within any one word. In competitive play amongst humans, each player is given credit for those of his
words which no other player has found.
In interactive play, enter your words separated by spaces, tabs, or newlines. A bell will ring when there is 2:00, 1:00, 0:10, 0:02, 0:01,
and 0:00 time left. You may complete any word started before the expiration of time. You can surrender before time is up by hitting
'break'. While entering words, your erase character is only effective within the current word and your line kill character is ignored.
Advanced players may wish to invoke the program with 1 or 2 +'s as the first argument. The first + removes the restriction that positions
can only be used once in each word. The second + causes a position to be considered adjacent to itself as well as its (up to) 8 neighbors.
4th Berkeley Distribution May 20, 1985 BOGGLE(6)