Search Results

Search: Posts Made By: Heedunk
4,056
Posted By Heedunk
why doesnt my script work!!!
I get an expr syntax error. here is my code


#!/bin/sh
echo 'Enter a number: \c'
read number

echo $number > test #copy value in number to file test

decimal=`wc -m...
4,056
Posted By Heedunk
number and its decimal
Is there a utility or command I can use to tell the number of decimal places a number has. For instance, if the number is 432, it will give hundred as the number of decimal places.
2,035
Posted By Heedunk
bourne script help
I need to make a small script that figures out if a filename that the user enters is a file or a directory. and if it is a directory, how many files are in it.

please point me to the right...
1,708
Posted By Heedunk
works great! thanks
works great! thanks
1,708
Posted By Heedunk
need help using sed
im trying to change the format of a list of numbers to xx-xx-xx. how do I do this?

list of numbers:
567890
56 78 90
(56)-7890
(56)-78-90
(56) 78 90


I want these numbers to be converted...
2,354
Posted By Heedunk
thanks guys!
thanks guys!
2,354
Posted By Heedunk
I think the list of words is the built in...
I think the list of words is the built in dictionary in Unix. It is located in /usr/dict

the list goes like this:

Animal
Beer
category

etc....

I tried doing:

grep '[t.......t*'...
2,354
Posted By Heedunk
I need help using grep
What is the syntax for using the grep utility to find all 8 character words in a long list of words that contain the letter 't'?
Showing results 1 to 8 of 8

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