Hi Guys
I have a string $INV which is in the format 123456.csv
I need to strip the .csv off so I can use the first part of the string to compare agains a database col.
I'm quite new to the unix scripting language and would assume you could use sed but can't quite work out the syntax.
Is sed the best thing to use of is there some other command I could use.
Many thanks
I have a string $INV which is in the format 123456.csv
I need to strip the .csv off so I can use the first part of the string to compare agains a database col.
I'm quite new to the unix scripting language and would assume you could use sed but can't quite work out the syntax.
Is sed the best thing to use of is there some other command I could use.
Many thanks