Search Results

Search: Posts Made By: livewire06
4,176
Posted By livewire06
thank you for your input but I need uid +1. im...
thank you for your input but I need uid +1. im doing this script for a class and that is the requirement.
4,176
Posted By livewire06
uid script help
i need a script to process a password file and based on the UIDs in the password file, generate the new UID that is 1 greater than the highest uid.
i have some script logic but i dont really...
8,253
Posted By livewire06
is there anyway you could help with the code i...
is there anyway you could help with the code i have above?
8,253
Posted By livewire06
perl program
could i get any help with how to link this program together. i dont know what to put where the X's are




print `flush`;
thank(); #print thank header
use Getopt::Std; ...
2,421
Posted By livewire06
perl program
I wish to write a Perl program that will provide a listing of files in a directory. The files must be listed in sorted order by the file name.
• By default, the program displays only file names.
•...
4,937
Posted By livewire06
ok i got it working this far and error reporting...
ok i got it working this far and error reporting for if its a directory and if theres not enough arguments are working but im still getting an error when it should work such as

./linenum.pl...
4,937
Posted By livewire06
perl linenum script
im working a a perl script for a class and i need to call a file and print it out with line numbers.

i need help with this line with what to put in the capitalized words

SYNTAX ($LINEEQUALITY...
5,426
Posted By livewire06
thank you
thank you
5,426
Posted By livewire06
its supposed to accept exactly 2 integer...
its supposed to accept exactly 2 integer arguments where the first argument must be less than the second argument. The script will print a comma separated list of integers starting with the first...
5,426
Posted By livewire06
seems easier but im doing this for a class and...
seems easier but im doing this for a class and were supposed to use arrays.

heres what i have now. :( i dont understand it really. any help?

unless ($#ARGV==2){
print "error: incorect number...
5,426
Posted By livewire06
perl syntax help
Im new at scripting and im trying to write a script using perl that will make sure there are 2 command line integer arguments and then check if the 2nd argument is greater than the first. i believe...
4,686
Posted By livewire06
got it working. thanks guys
got it working. thanks guys
4,686
Posted By livewire06
ok almost working. the first part is working just...
ok almost working. the first part is working just not teh line count


File printnum.sh has the maximum lines with lines.


FILE=$(wc -l `ls` 2>/dev/null | sort -bn | tail -n 2 | head -n 1)...
4,686
Posted By livewire06
ok its working but its not displaying any...
ok its working but its not displaying any results. just


/export/home/sieben01/itec400/homework> ./maxlines.sh
File has the maximum lines with lines.


im guessing its in this statement....
4,686
Posted By livewire06
THANKS! it seems to be working. still getting...
THANKS!
it seems to be working. still getting this error though

Tail: not found
4,686
Posted By livewire06
thanks. fixed that. still getting same error...
thanks. fixed that. still getting same error though
4,686
Posted By livewire06
shell scripting error help
Im tryign to write a script that counts the number of new lines in the file with the most new lines in a given directory

i keep getting this error


/export/home/sieben01/itec400/homework>...
Showing results 1 to 17 of 17

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