(Elementary user)
I am using this syntax in a csh to read the first (and only) line in a file called group:
foreach line ( "`cat /path/to/my/user/group`" )
echo $line
end
It returns the value primary:friends
It there a way of changing the syntax to ignore the word primary and the colon, i.e., everything to the right of ':'?
Is that possible?
Best regards
I am using this syntax in a csh to read the first (and only) line in a file called group:
foreach line ( "`cat /path/to/my/user/group`" )
echo $line
end
It returns the value primary:friends
It there a way of changing the syntax to ignore the word primary and the colon, i.e., everything to the right of ':'?
Is that possible?
Best regards