Search Results

Search: Posts Made By: muaz
2,669
Posted By muaz
Thank you .. its done.
Thank you .. its done.
2,669
Posted By muaz
Have to use sed for consistency. awk is not...
Have to use sed for consistency. awk is not allowed.
2,669
Posted By muaz
sed help
All,

I have a file in which there are different paths like:

data/install:app/data/USER/install
data1/install:app/data1/USER/install
and so on

I want to get for each line everything before...
1,495
Posted By muaz
help in sed or awk
Hi,

I have a file paths.txt with data:
http://test/data/table/data - common
http://test/data/table/data/common - common
http://test/data/table/db/abc.txt - common...
1,604
Posted By muaz
tar after replacing paths from a file
There is a file paths.txt with paths containing data for example
E:/<BUILD_NAME>/data/common
E:/<BUILD_NAME>/log/common
E:/<BUILD_NAME>/temp/common
E:/<BUILD_NAME>/code/common

While reading...
9,925
Posted By muaz
tar cvf extension.tar -T paths.txt works.. :)
tar cvf extension.tar -T paths.txt works.. :)
9,925
Posted By muaz
tar the paths from a input file
Hi,

I have a file paths.txt with all the file paths. I want to tar everything in those paths to a file.
for example paths.txt contains
/data/extention
/logs/extension
/code/extenstion

Now I...
3,400
Posted By muaz
Thank you! Its solved :)
Thank you! Its solved :)
3,400
Posted By muaz
I guess easy way to solve this to find a /...
I guess easy way to solve this to find a / character on end of each line. if it is present I would like to treat the path as an input to another command in the check, otherwise ignore.
For example:...
3,400
Posted By muaz
to perform checks line by line on a file
Hi,

I have a file abc.txt with data like this

1 /test/
2 /test/file.txt
3 /data/
4 /data/file1.txt
5 /data/file2.txt

I want to take out every path from the file and check if...
74,874
Posted By muaz
thanks it worked!!
thanks it worked!!
74,874
Posted By muaz
append a character at end of each line of a file
Hi,
i want to append a character '|' at end of each line of a file abc.txt.

for example if the file abc.txt conatins:
a|b|c
1|2|33
w|2|11


i want result file xyz.txt
a|b|c|
1|2|33|...
3,916
Posted By muaz
thanks , its is done :)
thanks , its is done :)
3,916
Posted By muaz
get characters from output of a command in a variable
Hi,

i have two questions, I am new to programming
1. I have an output of a command and i want to get some specific part of it in a variable. i am trying

sr=`some comand xyz| grep 'Last...
Showing results 1 to 14 of 14

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