Search Results

Search: Posts Made By: biglemon
3,932
Posted By biglemon
#! /usr/bin/ksh for file in * do typeset...
#! /usr/bin/ksh
for file in *
do
typeset -Z3 n=0
while read line
do
print -r - "${n}${echo $line | cut -c4-}"
n=`expr $n +1`
if [ $n -eq 998 ]
then
n=0
fi
done
exit 0...
3,932
Posted By biglemon
well.....if i have a file with 10k line... i...
well.....if i have a file with 10k line...
i want to rename each line in recursive mode...(while loop)?!
form 000,001...999,000,001.....999....etc....

Must i do something like this :

echo...
2,582
Posted By biglemon
O...thank you everyone for helping.... i have...
O...thank you everyone for helping....
i have figure out the problem...
i think i can finish the rest...

btw... any good (new) UNIX tutorial Book that u can introduce to me?
2,582
Posted By biglemon
i'm a self-learning new UNIX user i'm writing...
i'm a self-learning new UNIX user
i'm writing my 3rd UNIX script in my life...
but i found myself fall into syndex errors...
this script is use for seperate file from a ftp server...
i need to...
3,932
Posted By biglemon
it is possible to have any other alternative...
it is possible to have any other alternative method to do the number formating for what i needed?
3,932
Posted By biglemon
How about in SCO UNIX...? is there still a...
How about in SCO UNIX...?
is there still a typeset command?

i type "man typeset" it said not found
3,932
Posted By biglemon
Numbering!
Just a shot question...

how to make 1,2,3,...999

into the form of

001,002,003....999
(3 digits)
Thanks....
2,582
Posted By biglemon
Seperating Files
I wonder if there is any method that can effectively cut a file into 2 or more files... with the title on top...

like this Original File :

TITLE 1
001 ABC
002 DEF
003 GHI
004 JKL

...
23,880
Posted By biglemon
Yes.... everything works... thanks so much
Yes....
everything works...
thanks so much
23,880
Posted By biglemon
the .netrc file become -rw------- ...
the .netrc file become
-rw-------

OOooo....yes...that's works....and log me in...
Thanks so much shaik

just wondering where will the imported file goes to....??
i can't find that...
should...
23,880
Posted By biglemon
then i will get this 220- 220 st2ast FTP...
then i will get this

220-
220 st2ast FTP server (Version 2.1WU(1)+SCO-2.6.1+-sec) ready.
Error - .netrc file not correct mode.
Remove password or correct mode.
Remote system type is UNIX....
23,880
Posted By biglemon
i have only 1 sever to ftp... so cannot try... ...
i have only 1 sever to ftp...
so cannot try...

also ...
i use ftp -n host
to ftp ....
is that correct....??

but when i ftp to the server i get

$ ftp -n host
Connected to host
220-...
23,880
Posted By biglemon
o...i did put the "init"... some mis-typing in...
o...i did put the "init"...
some mis-typing in the forum..
but nothing happened to my files....
dunno yy...

btw...
should i put
mget usr/biglemon/*

or
mget usr/biglemon/*.c
as the...
23,880
Posted By biglemon
My Macro part doesn't work... if i typed pwd ...
My Macro part doesn't work...
if i typed pwd
i will get

/usr/biglemon

so i put this in the .netrc file
macdef
hash
prompt
mget /usr/biglemon/*
mdel /usr/biglemon/*
bye


...
23,880
Posted By biglemon
i create a file ".netrc" in my user/bin/ says...
i create a file ".netrc" in my user/bin/
says the netrc file have this:

machine apple login lemon password orange

when i try to ftp apple
it will require for login and password...anything...
23,880
Posted By biglemon
Telnet and file Copy/Delete Problem
Hi there....I'm new for the UNIX...

just wondering if there is any method that can telnet to a server without typing the userID and PWD each time...
that is any command or scripts that allows me...
Showing results 1 to 16 of 16

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