Search Results

Search: Posts Made By: Prantare
Forum: Solaris 08-28-2010
1,841
Posted By Prantare
Creating script adding 3 different variables in 3 columns
I have 3 variables with different information.. they look like this (row-wise aswell):

Variable1 =
Roland
Kalle
Dalius

Variable2 =
ake123
ler321
kaf434

Variable3 =
Richardsen...
Forum: Solaris 08-28-2010
2,429
Posted By Prantare
Ah! I changed the . into ! and now it works....
Ah!
I changed the . into ! and now it works. The tutorial I read listed a dot and therefor I thought that was the right character.. thanks so much! :)
Forum: Solaris 08-28-2010
2,429
Posted By Prantare
Creating script - grep wont work?
This is my first script and I wont get it working.. sorry for being a total noob but here it is:
#./bin/sh -x
echo "1:st argument = $1";
echo "2:nd argument = $2";
grep "$1" "$2"

In the...
Showing results 1 to 3 of 3

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