Search Results

Search: Posts Made By: Sathya83aa
737
Posted By Sathya83aa
Doubt in Query..
Hi all..

I have a shell script in which I have a line

while read -u3 line; do
read -u3 line

Can someone please let me know what does that u3 denotes?

Thanks in advance,
Sathya V.
1,891
Posted By Sathya83aa
Thanks a lot disedorgue,..Can you please...
Thanks a lot disedorgue,..Can you please elaborate on how to do that?

Like where the config file will be ?
1,891
Posted By Sathya83aa
Thanks a lot CarloM..That didnt work :-( ...
Thanks a lot CarloM..That didnt work :-(

Your option will also not work in my case disedorgue.

Let me explain it again..

I have a script which will zip a xml file and encrypt the file...
1,891
Posted By Sathya83aa
I have some other lines in the shell script. One...
I have some other lines in the shell script. One of the line will be the command I have given below.
1,891
Posted By Sathya83aa
Runtime input
Hi all..

I have a command for example /abc/def/ghi.jkl Filename filename1.

If I run this command, it will ask for y/N which I have to type manually.

Now Im trying to automate it using...
15,903
Posted By Sathya83aa
remove last newline character..
As I mentioned in my mail when I take the count of the file, it is giving me the value without the next line. However when I open the file in vi mode the cursor goes till the line 'ijkl'. This is...
15,903
Posted By Sathya83aa
remove last newline character..
hi balajesuri..

your solutions didnt work in my case..

I guess the sample file you used has space in the last line..whereas my file is just a newline..

please suggest.

thanks..
sathya v.
15,903
Posted By Sathya83aa
Remove last newline character..
Hi all..

I have a text file which looks like below:

abcd
efgh
ijkl
(blank space)

I need to remove only the last (blank space) from the file. When I try wc -l the file name,the number...
911
Posted By Sathya83aa
Another one..
Hi,.

that thing has been taken care..

Now I have a text file which looks like
asdf 1234
cdef 2345
..
..
..
KLDM 0945
<EMPTY LINE>

I need to remove the last empty line from the...
911
Posted By Sathya83aa
Find and replace..
Hi Balaje..

Thanks a lot for ur reply..but the occurance of number 5 is not a static length,..it may be in the 5th line after the ASD or 10th line after the ASD.

Please let me know if...
911
Posted By Sathya83aa
Find and replace..
Hi Experts..

I have requirement in which I have a text file say a.txt which looks like below:

ASD
1
2
3
4
5
ASD
9
8
7
6
5
ASD
1
2
3
1,025
Posted By Sathya83aa
Doubt..
Hi experts,

In one of our code we have used some command like this.
name=${name##*/}

Can someone please let me know what exactly it does?

Thanks & Regards,
Sathya V.
Showing results 1 to 12 of 12

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