Search Results

Search: Posts Made By: aruveiv
958
Posted By aruveiv
Help on grep
Hello All,

I have a file with following entries
cat test
yell
yell-dep
yellscripts

When I do a grep -w for yell it gives me the following output
grep -w yell test
yell
yell-dep
...
8,253
Posted By aruveiv
Need help in reading a file horizontally and printing vertically
Hi Every body,

I have file which has enttries, with each 5 entries as a set of entries, I would like to read the file (line by line) and print five entries of a set vertically, the next entry...
3,285
Posted By aruveiv
Hi All, Thanks for your response...I have go...
Hi All,

Thanks for your response...I have go output in desired format using

cat test1 | echo `awk '{print}'` $pswd

Thanks & Regards,
Arun.
3,285
Posted By aruveiv
Help with SED
Hi,

I am new to scripting.

I want to print a variable which has a path entry at end of line using sed

here is what I have tried

#!/bin/bash

pswd=`pwd`
cat test1 | sed "s/$/ $pswd"
...
Showing results 1 to 4 of 4

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