Search Results

Search: Posts Made By: vasanth_vadalur
7,950
Posted By vasanth_vadalur
Is there anyway for file renaming in csh
Hi,

I have the files like in a directory.

filerefcellhg1.txt
filerefcellhg2.txt
filerefcellhg3.txt
filerefcellhg4.txt
filerefcellhg5.txt
filerefcellhg6.txt
filedonotchange.txt...
3,040
Posted By vasanth_vadalur
yes....
Thanks...

Vasanth
3,040
Posted By vasanth_vadalur
Thanks but....
For the above input file, the awk script is failing to give desired output.

Thanks In advance,
Vasanth
3,040
Posted By vasanth_vadalur
Input file attached herewith
Dear Panyam,

Thanks. But my input file is little different, i am attaching for your reference.

While posting, the tab space character is removed.

Thanks
Vasanth
1,403
Posted By vasanth_vadalur
Sed to handle newline specific name modifiication
Hi,

The below link clarification required...


https://www.unix.com/shell-programming-scripting/112523-sed-handle-newline-specific-name-modifiication.html

Vasanth
3,040
Posted By vasanth_vadalur
Hi panyam, Its worked. Fine and Thanks a...
Hi panyam,

Its worked. Fine and Thanks a lot...

Thanks
Vasanth

---------- Post updated at 05:50 AM ---------- Previous update was at 05:44 AM ----------

Sorry Panyam,

This code...
3,040
Posted By vasanth_vadalur
Hi Rakesh, I tried the below code, but it...
Hi Rakesh,

I tried the below code, but it not working..

Eg:

sed -e 's/[ ]*c2[ ]*{*\n*\t*width/c2[ ]{\n\twidth2/g'

Thanks in advance...

---------- Post updated at 05:15 AM ----------...
3,040
Posted By vasanth_vadalur
sed need to see the next line and with specific TAB
Hi,

The above input and output file data does not showing the initial TAB space characters.

3 TAB space is present in the front of C1 and C2 function objects.



Note:

First the...
3,040
Posted By vasanth_vadalur
Sed to handle newline specific name modifiication
Hi,

Using sed, i need to edit two functions data as explained below.

C1 function axis need to be change as axis1 and in C2 function width and height name should change as width2 and height2....
4,020
Posted By vasanth_vadalur
Dear rakeshawasthi i tried but for \...
Dear rakeshawasthi

i tried but for \ character it is giving error...

kindly guide me to solve this....

vasanth

-----Post Update-----

sorry it is not \ character. the problem is with ...
4,020
Posted By vasanth_vadalur
How to remove space in sed for / character
Hi...
i need a script to remove the space before and after the operator like( / ).
Ex :
Input file
apple / manago
mango / fresh apple / fresh

Desired output:
apple/manago
mango/fresh...
2,631
Posted By vasanth_vadalur
Thanks....
Thanks rakeshawasthi,

urs too working fine..

Thanks:b:
vasanth

-----Post Update-----

Dear panyam / rakeshawasthi ,

In the above case everything fine, but if i want to remove the...
2,631
Posted By vasanth_vadalur
Thanks..
Dear Panyam,

Thanks. well done....:b:

Thanks a lot,
Vasanth
2,631
Posted By vasanth_vadalur
Dear rakeshawasthi , i have a big file...
Dear rakeshawasthi ,

i have a big file containing different names, and the operators(+,&&. -. ||) not in the a proper order. Kindly concern about the spaces near to the operators only.

And...
4,255
Posted By vasanth_vadalur
Ok.rakeshawasthi , do you answer for my new...
Ok.rakeshawasthi ,

do you answer for my new post, about removing spaces inbetween operators

Thanks in advance
Vasanth
2,631
Posted By vasanth_vadalur
remove space between the operator, script required...
Hi...

i need a script to remove the space before and after the operator like( +, -, ||, &&).

Ex :

Input file

apple + manago

mango && fresh + apple fresh || fruit


Desired output:...
4,255
Posted By vasanth_vadalur
One more thing, panyan i need a scritp to remove...
One more thing, panyan i need a scritp to remove the space before and after the operator like( +, -, ||, &&).

Ex :

Input file

apple + manago

mango && fresh + apple fresh || fruit
...
4,255
Posted By vasanth_vadalur
Yes, thanks a lot, Panyam....
Yes, thanks a lot, Panyam....
4,255
Posted By vasanth_vadalur
Dear Rakeshawasthi, I tried the below code...
Dear Rakeshawasthi,

I tried the below code in Bash shell, but i am getting error as "syntax error near unexpected token '$'do\r'' .

kindly clarify.....


Code used:

test=testfile...
4,255
Posted By vasanth_vadalur
Is it possible in csh...
Dear rakeshawasthi,

Thanks. Its look like bash shell script.

Is it possible using CSH.

Thanks
Vasanth
4,255
Posted By vasanth_vadalur
Thanks but....
Dear Panyam,

The code given by u, is scanning file and giving output by the repeated lines.

The required output should be variable should remain and the values should come in the same row..
...
2,420
Posted By vasanth_vadalur
repeated column data filter and make as a row
I need to get the output in row wise for the repeated column data

Ex:
Input:


que = five
ans = 5

que = six
ans = 6


Required output:

que = five six
ans = 5 6

...
4,255
Posted By vasanth_vadalur
Script - Filter data - repeated loop - Help needed...
Dear Friend,

I need a help for the below problem.. Can anyone suggest me to do...



Input file data:

rule {
name=mainrule
filt=pos
loc {
...
Showing results 1 to 23 of 23

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