Search Results

Search: Posts Made By: sathish92
4,444
Posted By sathish92
echo "12 11 13 15" | awk 'BEGIN { RS=" "; ORS="...
echo "12 11 13 15" | awk 'BEGIN { RS=" "; ORS=" \n"; } {print$1; } '

Video tutorial on how to use code tags in The UNIX and Linux Forums....
7,200
Posted By sathish92
oops <CODE> echo -e "$variable" </CODE>...
oops

<CODE>
echo -e "$variable"
</CODE>

works
thanks
7,200
Posted By sathish92
newline character in a variable
variable="unix\nlinux"
echo $variable

expected output:
unix
linux

:wall: can i do that ??
thanks in advance!!
14,917
Posted By sathish92
check if the path for unrar is correct by...
check if the path for unrar is correct by checking "which unrar" or "whereis unrar" , and then include full path and try...
1,974
Posted By sathish92
try this . grep -o...
try this .
grep -o "[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*" yourfile
1,605
Posted By sathish92
your code gives me the output without any blank...
your code gives me the output without any blank line between each records.
my expected output is blank lines between each record
like :
line1 of record1
line2 of record1

line1 of record2 ...
1,605
Posted By sathish92
how to form Records[multiple line] between two known patterns
file contents looks like this :
#START
line1 of record1
line2 of record1
#END
#START
line1 of record2
line2 of record2
line3 of record2
#END
#START
line1 of record3
#END

my question...
Showing results 1 to 7 of 7

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