Search Results

Search: Posts Made By: efernandes
1,484
Posted By efernandes
How can I get multiple info from different files
HI,

Supose I have these 2 files:

file1.txt
Name: John
Age:28
DateOfBirth:21/12/2004

file2.txt
Name: Thomas
Age:30
DateOfBirth:11/1/2003

I need to retrieve into a single file the...
2,948
Posted By efernandes
(cont) Retrieve line from a file based on a value in specific column
HI,

Your help was great: awk -F":" '$5 ~ /^P/{print }' file

I would like to know what changes need to be done to this line code, so that I can put it in a shell script and call it as the...
5,047
Posted By efernandes
Retrieve line from a file based on a value in specific column
Hi,

I have a file that has several values seperated by ":"

2006:John:Student:Football:Portugal:Cinema
2006:James:Engineer:Basket:Poland:Theatre
2007:Lucy:Diver:Gymnastic:England:Music...
3,098
Posted By efernandes
How to append "spaces" between strings
HI,

Supose I have the folowing strings: "unix" and "linux". I want to concatenate the two strings, inserting between them a variable number of spaces.


ex1: unix linux
ex2: unix linux
...
7,148
Posted By efernandes
How to print at a specific position of the display
Hi,

How can I write a string in a specific position of the screen in a bourne shell?

Regards,
Elio
Showing results 1 to 5 of 5

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