Search Results

Search: Posts Made By: krupasindhu18
1,982
Posted By krupasindhu18
Thanks a lot could you explain this command?
Thanks a lot
could you explain this command?
1,982
Posted By krupasindhu18
To add a pipe in a file
yes, it is always 9 characters .

but it would be better, if put beginning of the NAME column.

Thanks,
Krupa
1,982
Posted By krupasindhu18
To add a pipe in a file
Hi All,

how to add a pipe "|" in name field in my .dat file, below is the sample file.
name field is not case sensitive, it is mixed with upper and lower characters.
EMPLID|NAME |STID |STATUS...
2,374
Posted By krupasindhu18
Remove trailing tilde("~")
can you try with below.... for me it working
>sed 's/~//g' GPS_input.txt
COUNT PERCENT
OLD PRODUCT RECORD COUNT 15476100.00%
NEW PRODUCT RECORD COUNT 15609 0.85%
NEW...
2,559
Posted By krupasindhu18
Uploading using sftp file1 copied to file2
i can not use below code, because i have so many files in same directory name like ...
GPS_input.txt,GPS_input1.txt,GPS_input2.txt,GPS_input3.txt ... like this
from above list of files, i will...
2,559
Posted By krupasindhu18
Uploading using sftp file1 copied to file2
if there is no other options then i will have to use this.
here is my question , we cannot use any regular expression for both the files like character and concatenation with number in files?
...
2,559
Posted By krupasindhu18
Uploading using sftp file1 copied to file2
Hi panyam,

my file names are GPS_input.txt and GPS_input2.txt. not GPS_input1.txt and GPS_input2.txt

thanks,
Krupa
2,559
Posted By krupasindhu18
Uploading using sftp file1 copied to file2
no , it is not working properly
Uploading GPS_input2.txt to /home/ekkk/GPS_input2.txt
GPS_input2.txt

it is there only GPS_input2.txt file and GPS_input.txt file is not there

this is the...
2,559
Posted By krupasindhu18
Uploading using sftp file1 copied to file2
sorry, still i am getting same error
sftp> mput GPS_input{,2}.txt
stat GPS_input{,2}.txt: No such file or directory
2,559
Posted By krupasindhu18
Uploading using sftp file1 copied to file2
i am tried with below
sftp> mput GPS_input{,2).txt
stat GPS_input{,2).txt: No such file or directory

getting the No such file or directory, even though two files are there in my directory.
2,559
Posted By krupasindhu18
Uploading using sftp file1 copied to file2
Hi Rudic,

i have file like GPS_input.txt and GPS_input2.txt. when i try to mput GPS_input[12].txt or GPS_input[2].txt . when i am trying with this only GPS_input2.txt is chowing(it means same...
2,559
Posted By krupasindhu18
Uploading using sftp file1 copied to file2
Hi All,

i am using hp-ux server and doing mput command for uploading the multiple files.
below is the code

sftp hfjr@usilehrttlsd01.com
cd /home/sftp_dir
mput kk1 kk2
i am getting...
3,105
Posted By krupasindhu18
Split a line into next line
Thanks all for you valuable informations i got my expected result.

thanks Scrutinizer/ygemici,

ygemici,

can you please explain brifly about you code.please

awk -vx="date"...
3,105
Posted By krupasindhu18
Hi Scrutinizer, sorry for my unclear...
Hi Scrutinizer,

sorry for my unclear requirment.

Requirment:-emplid|empl_name|salary|hire_date is my file header and this is fixed length.
sometime, the first record might be attached to the...
3,105
Posted By krupasindhu18
Split a line into next line
Hi Akshay,

thanks for your reploy.
awk -F\| 'NR==1 && NF>4{$0 = substr($0,1,33) RS substr($0,34)}1' bb
is not working .

as i told you my record are dynamic '1111' is not a fixed records.
...
3,105
Posted By krupasindhu18
sed '1s/./\n&/34' kk.txt is not working ...
sed '1s/./\n&/34' kk.txt is not working

see the output

FEEDS:/projects/feeds/rfs>sed '1s/./\n&/34' kk.txt
emplid|empl_name|salary|hire_daten1111|gro|3000|01/01/2014...
3,105
Posted By krupasindhu18
Split a line into next line
Hi All,

Thanks for your reply.

From every body's reply, i am thinking one mistake with my post beacuse every one is thinking records 1st tab is fix '1111', but it is dynamic values. this...
3,105
Posted By krupasindhu18
Split a line into next line
hi,

i tried with below commod, it is not working
sed '1s/./\n/34'

is there any other ways

thanks,
kk
3,105
Posted By krupasindhu18
Split a line into next line
Hi All,

I have user input file like below:-
emplid|empl_name|salary|hire_date
1111|gro|3000|01/01/2014
1111|ghgo|4000|01/03/2014
1111|dkguo|5000|02/01/2014
1111|ehrt|6000|01/04/2014...
2,166
Posted By krupasindhu18
ok, let me try this way. Thanks for your...
ok, let me try this way.

Thanks for your valuable suggestions.

Regards,
Krupa
2,166
Posted By krupasindhu18
Execute permission for shell script
Hi Vbe,
sorry for i have not given all details. please find the below details.

We dont know the OS: HP-UX
We dont know what the calling script if for : weekly_us_push_rpts_tst.sh
We dont know...
2,166
Posted By krupasindhu18
Execute permission for shell script
i have given permissions to 777 to all and i am the owner and current directory permission is -rw-r--r--
2,166
Posted By krupasindhu18
Execute permission for shell script
Hi All,

I am not able to figure out what is the problem with calling a shell script within a shell script.
i have given all the permissions to both schell scripts.
but when i am seeing the log...
1,529
Posted By krupasindhu18
can you please give me example. i already tried...
can you please give me example. i already tried it is not working.
1,529
Posted By krupasindhu18
Hi, Sorry, when i posted first time...
Hi,

Sorry, when i posted first time unfortunately i forget to post the code/program. after that i tried to delete the thread. but couldn't find the delete option. so i posted new thread.
sorry, i...
Showing results 1 to 25 of 76

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