Search Results

Search: Posts Made By: shweta_d
8,944
Posted By shweta_d
empty space in java command through unix
I need to pass an empty space in the command ="java ......... "

as one of the arguments where java calls some java command....
(It accepts it in windows as " ")

Thanks in advance
SD
4,084
Posted By shweta_d
append to fle using sed
Hello ,

I have the folloiwing command :
sed -n "$var,$final w $destfile" $sourcefile

where :
$var - $final represent the range of line numbers to be written in $destfile

However I require...
6,104
Posted By shweta_d
Thanks a ton.... :)
Thanks a ton.... :)
6,104
Posted By shweta_d
use awk to read variable length csv
Any help to read the contents of a variable length csv ....??(using awk)
The csv mite look like this :

anjali,ram,rahul,mohini,sam,.... and so on ...
I need to pick up each name..

Thanks in...
12,483
Posted By shweta_d
I tried that . but it throws an eror as : the...
I tried that . but it throws an eror as : the delimiter should be a single character .
Thanks
SD
12,483
Posted By shweta_d
\r as delimiter in cut
I need to use \r as a delimiter in the -d option of the cut comand .
Any help ?
Thanks in advance .
SD
19,617
Posted By shweta_d
any explanation of hat the abov does???coz i have...
any explanation of hat the abov does???coz i have already written the code for grep and extraction .
All i require to so is as described earlier.....
Regards,
SD
19,617
Posted By shweta_d
well... it still could not grep the "name" since...
well... it still could not grep the "name" since it got a newline appended to it while using readLine ...but can you tell me what -A 2 on a grep do?
19,617
Posted By shweta_d
remove trailing newline characters
Hello ,

I have the folowing scenario :
I have a text file as follows : (say name.txt)
ABC
DEF
XYZ

And I have one more xml file as follows : (say somexml.xml)
<Name>ABC</Name>...
5,254
Posted By shweta_d
thanks that worked .. :)
thanks that worked .. :)
5,254
Posted By shweta_d
passing variables to sed function in a script ....
Hello ,

I have a script named testscript.sh
wherein I have two variables $var and $final (both of which contain a number)

I have a sed write function inside this script as follows:
sed '1,2...
Showing results 1 to 11 of 11

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