Search Results

Search: Posts Made By: sumirmehta
9,692
Posted By sumirmehta
problem with exit while using nohup
Hi,

I am kinda confused with this, am not sure what is happening

i have a script say test.sh
----------
cat myfile | while read line
do
exit 2
done

echo "out of loop"
-----------

as...
2,154
Posted By sumirmehta
Hi, I have a different idea using cut. >...
Hi,
I have a different idea using cut.

> echo $myString
This is the first line-CR-second line-CR-third line-CR-fourth line-CR-fifth line-CR-

> echo $myString | sed 's/-CR-/:/g' | cut -d':'...
1,551
Posted By sumirmehta
I could suggest a solution using cut. If you...
I could suggest a solution using cut. If you change the file columns.txt to look something like "2,3", or if the format is fixed you could consider reformating "$2$3" to "2,3".

so then

> echo...
1,870
Posted By sumirmehta
If i understand it correctly, what you're...
If i understand it correctly, what you're requesting is for the substitution of the $SYBASE variable properly (specific to a m/c) onto the physname variable (as depicted below).

> echo $SYBASE...
5,280
Posted By sumirmehta
Hi, The following code could be utilized. Its...
Hi,
The following code could be utilized. Its mostly built upon what has been posted above (by joeyg). A little bit of playing around with that could've helped.

cat file | sed...
13,807
Posted By sumirmehta
I suppose it is ConnectionTimeout. Check out the...
I suppose it is ConnectionTimeout. Check out the scp man page
8,044
Posted By sumirmehta
Using the find command, following script could be...
Using the find command, following script could be helpful to traverse a dir and its sub directories (and further processing the contained files) --

find . -type f | while read line
do
echo...
50,693
Posted By sumirmehta
Hi cbkihong, Thanks again for the reply. ...
Hi cbkihong,

Thanks again for the reply.

My terminal is a normal console. I've tried the same with xterm and emacs shell. So does it mean that it is not possible to see these (any UTF-8 2 bye...
50,693
Posted By sumirmehta
Hi cbkihong, Thanks for the elaborate...
Hi cbkihong,

Thanks for the elaborate explanation.

1. my perl version is 5.8.0, so the UTF-8 thing in perl should not be an issue.

2. I tried out the steps u mentioned (using the binmode and...
50,693
Posted By sumirmehta
Hi there, I am actually using perl to retrieve...
Hi there,
I am actually using perl to retrieve message from the mailbox. the perl module for encoding/decoding (MIME-Base64-3.07 > MIME::Base64) is the one to be used, but while decoding it does...
50,693
Posted By sumirmehta
Hi fpmurphy, thanks for the response. can u pls...
Hi fpmurphy, thanks for the response.
can u pls elaborate on how and what locale do is set ? i am operating on solaris 5.8 OS.

also this is a part of the bigger problem. Actually i am...
50,693
Posted By sumirmehta
Convert UTF-8 encoded hex value to a character
Hi,
I have a non-ascii character (Ŵ), which can be represented in UTF-8 encoding as equivalent hex value (\xC5B4). Is there a function in unix to convert this hex value back to display the charcter ?
10,301
Posted By sumirmehta
the cut -c thing does work... but is a little...
the cut -c thing does work... but is a little bit crude ... any other ideas?
10,301
Posted By sumirmehta
there are certain variations to the file...
there are certain variations to the file mentioned above

1. the width of a column is fixed (say 10) but that includes the numbers and padded spaces, so it could be "1234 " and "123456 "
...
10,301
Posted By sumirmehta
the file is basically the dump of a query/stored...
the file is basically the dump of a query/stored proc , assuming it is fixed format (each column width being n characters, say 10), how could it be done then....

another example of what is...
10,301
Posted By sumirmehta
Removing blank columns from a file
Hi,

I have a sample file as shown below --

id parent name ...
Showing results 1 to 16 of 16

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