Search Results

Search: Posts Made By: naamas03
2,330
Posted By naamas03
Hi Friends , So i've tried using the iconv...
Hi Friends ,
So i've tried using the iconv command in order to translate my file.
I've produced 3 diffrent conversion to check which one is good .
problem : the iconv command do not convert all...
2,330
Posted By naamas03
HI , thank you for your quick reply . First...
HI ,
thank you for your quick reply .
First of all when i'm copying the file manually , without the script . the file transfer great. you can see the hebrew in the ftp server.
the problem...
2,330
Posted By naamas03
the source server linux UTF-8 the destination...
the source server linux UTF-8
the destination server FTP : windows-1252.
2,330
Posted By naamas03
Hebrew converted into jibrish while put command
HI Friends ,
I have a script which cp xml files from linux to other server thru ftp
my xml file contains charcters in hebrew
although , the command Binary exists in the script . the files...
1,043
Posted By naamas03
The script is still coverting Hebrew to Jibrish
There are some cases when the script does Error converting from Hebrew to Jibrish.Even Though we put the Binary Command .

ftp -p -n $HOST << EOF
user $USER $PASSWORD
binary
cd /dest/files4/...
1,043
Posted By naamas03
Hebrew character convert error while put thru ftp
Hi all ,
i have a script which cp xml files from linux to other server thru ftp
my xml file contains charcters in hebrew . my script is
#!/bin/bash
HOST="....."
USER="....."
PASSWORD="..."...
2,441
Posted By naamas03
Hi i did your last commands which show exactly...
Hi
i did your last commands which show exactly what you've posted.
$ od -c REPORT54784
0000000 z \n a
0000003
$ od -c SREPORT54784 ...
2,441
Posted By naamas03
Hi what i meant is that the number of the...
Hi
what i meant is that the number of the characters in the file REPORT54784
are 300 , while in the SREPORT54784 the number of the characters are 301
i didn't mean to the name of the file .i...
2,441
Posted By naamas03
sort file adding extra character
HI all
i have this script :
#!/bin/bash
sort /usr/tmp/"REPORT"$1 -o \
/usr/tmp/"SREPORT"$1 -k 1,7 -S 150
end of script
now i'm doing this command :
ls -lsgt *REPORT*
4 -rw-r--r-- ...
3,732
Posted By naamas03
Hi thanks for the response, According to...
Hi
thanks for the response,
According to the syntax if the first command failed
mv /tmp/file1 tmp/file2
it continue to the second command :/tmp/filetest/ tmp/file3.
this is not what i wanted,...
3,732
Posted By naamas03
go to / skip in script
Hi all
I have some script like this
#!/bin/bash
mv /tmp/file1 tmp/file2
if [[ $? -eq 0 ]] ; then
cp /tmp/filetest/ tmp/file3
if [[ $? -eq 0 ]] then
echo "succes"
else
...
16,966
Posted By naamas03
Hi ALl Thanks for all the replies. Eventually...
Hi ALl
Thanks for all the replies.
Eventually i did Methyl suggestion,
dd if=inputfile.txt of=outputfile.txt ibs=131072 cbs=47 conv=unblock
and it added delimiter character "/015" in the end of...
16,966
Posted By naamas03
Hi unfortunately indeed this is the situation...
Hi
unfortunately indeed this is the situation , there is nothing delimiting between the records.
16,966
Posted By naamas03
Hi i've tried , still doesn't help for what i...
Hi
i've tried , still doesn't help for what i want .
16,966
Posted By naamas03
add character to every end-of line in file
Hi All
I have a file which conatins record.the length of every records is 47.
problem : in the end of record i don't have a "\015" character.
i want to add this "\015" charcter in the end of...
5,003
Posted By naamas03
Hello works great!! thank you very much !
Hello

works great!!
thank you very much !
5,003
Posted By naamas03
hi i try to do your suggestion sort...
hi
i try to do your suggestion
sort /usr/tmp/file1 -o /usr/tmp/file2 -k 1,5 -k 16-21 -S 22
but it did not do what i want
it still sort it just according to the 1,5 position only

can...
5,003
Posted By naamas03
sort text file
HI all

i have a text file file1 like this

004002004545454000001
041002004545222000002
006003008751525000003
007003008751352000004
006003008751142000005
004001005745745000006

i want to...
14,301
Posted By naamas03
add character to the end of each line in file
hi all
i have 32 lines in file. the length of each line is 82 , i want that in the end of each line , means in postion 83-84 to put two characters 0d(=\015), 0a(=\012)
i want that the 0d will be...
3,542
Posted By naamas03
thank you all it works great !
thank you all it works great !
3,542
Posted By naamas03
thank you for your quick response i've been...
thank you for your quick response
i've been thinking is there a way to improve the if
like
if [[ $1 -eq 1 ]] ; then
lp -d [name of printer] sp_employee || echo "error in printing"
...
3,542
Posted By naamas03
sub-if in shell script
hi all
i have script like this
#!/bin/bash
if [[ $1 -eq 1 ]] ; then
echo "printing report employee "
lp -d [name of printer] sp_employee
exit
fi
if [[ $1 -eq 2 ]] ; then
echo "printing ...
2,453
Posted By naamas03
urgent lprm problem
hi all
i have printer call prt1
we send to this printer some job
and then we want to cancel it.
we did lpstat
no job id found
so i did lprm
and it wrote to me
No active jobs on...
4,910
Posted By naamas03
yes you're write my mistake it works fine. ...
yes
you're write my mistake
it works fine.
thank you very much !
4,910
Posted By naamas03
hi i will explain again what i want echo $$...
hi
i will explain again what i want
echo $$ > process-id
now process id conatin 20899
i want that d will contain 20899
if you're using the
d='cat process-id'
and doing
echo $d
d equals...
Showing results 1 to 25 of 95

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