Search Results

Search: Posts Made By: vnayak
2,491
Posted By vnayak
Replacing specific characters using sed
Hi DGPickett,

I am not sure what you mean. Would you mind re-explaining that?

Thanks,

vnayak
2,491
Posted By vnayak
Replacing specific characters using sed
Yes. It is setup to be a delimiter. This file will be transferred to Excel at some stage and the caret is only sign that will allow other data in the file to be imported properly.

So for example...
2,491
Posted By vnayak
Replacing specific characters using sed
Hi DGPickett,

Thanks for your prompt reply and for the code. However, when I try it does
not do anything to the file I have. So I created a test document (in Pico!) which contained the...
2,491
Posted By vnayak
Replacing specific characters using sed
Hi,

I have a text file which is output from a server and it lists all the files in a specific volume. However, the volume name appears as volume_name:.
I would like to replace this with...
6,420
Posted By vnayak
Right justify for bash
Hi fpmurphy,

Many thanks for the suggestion and your prompt reply. I did find a few resources on the web which may benefit people using the terminal.

These are below:

8 Useful and...
6,420
Posted By vnayak
Right justifying prompt data in bash
Hi,

I have a custom prompt in Bash. However, I would like to further customise it so that it shows me the date and time. However, I would like this new addition to appear on the right side of the...
2,034
Posted By vnayak
Hi Don, Many thanks for the explanation....
Hi Don,

Many thanks for the explanation. Now I understand.

Regards,

vnayak.:)
2,034
Posted By vnayak
Problem with ls
Hi,

I am using the following command to produce a colorised output from Terminal within OSX.

ls -lahFG

This works fine. However when I try to sort the output so that it shows the...
3,078
Posted By vnayak
Awk: Searching for length of words between slash character
Dear UNIX Community,

I have a set of file paths like the one below:


\\folder name \ folder1 \ folder2 \ folder3 \ folder4
\\folder name \ very long folder name \ even longer name


I...
1,474
Posted By vnayak
Combining AWK statements
Hello UNIX Community,

I have file that contains the following data:

testAwk2.csv


rabbit penguin goat
giraffe emu ostrich
hyena elephant panda
dog cat pig
lizard snake...
4,637
Posted By vnayak
Hi, Many thanks for your code. That...
Hi,

Many thanks for your code. That helped a lot. I was literally barking up the wrong tree until I tried out your code.

Thanks once again. I really appreciated the quick response!

Vnayak
4,637
Posted By vnayak
Counting rows line by line from a specific column using Awk
Dear UNIX community,

I would like to to count characters from a specific row and have them displayed line-by-line.

I have a file called testAwk2.csv which contain the following data:
...
Showing results 1 to 12 of 12

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